Exp android Build : works fine in expo, but can't build

#1

Hi I’m experience same problem

App works fine in Expo but i cant get apk file.

these are my errors.

/src/exponent/android-shell-app/ReactAndroid/src/main/java/com/facebook/react/modules/dialog/AlertFragment.java:39: Error: Avoid non-default constructors in fragments: use a default constructor plus Fragment#setArguments(Bundle) instead [ValidFragment]
:app:lintVitalProdRelease
public AlertFragment(@Nullable DialogModule.AlertFragmentListener listener, Bundle arguments) {

/src/exponent/android-shell-app/ReactAndroid/src/main/java/com/facebook/react/modules/dialog/SupportAlertFragment.java:32: Error: Avoid non-default constructors in fragments: use a default constructor plus Fragment#setArguments(Bundle) instead [ValidFragment]



and this is my build id. Hope it helps
https://expo.io/builds/d7302aa3-e279-45c0-be54-8cda8ee3a3a3
1 Like
#2

Hi-
I’m not sure why this is happening. Sorry!
I’ll try to find someone to take a look.
Charlie

#3

That build says it completed @superwonjune. Those are annoying errors but they don’t prevent the build from compiling. Was there an issue getting your apk from that link?

1 Like
closed #4

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.