Exp build:android failed

I can do the build normaly in the morning, then, I only updade some business logic in code, and the build is failed in the evening :expressionless:

This is the bug from Expo, isn’t it?

@Expo supporters: please help me to check my build: https://expo.io/builds/78d83915-1fbe-4b8c-a66b-5cfd8d2ef14a

The error in console log is

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


[stderr] Cause: Dex cannot parse version 52 byte code.
[stderr] This is caused by library dependencies that have been compiled using Java 8 or above.
[stderr] If you are using the 'java' gradle plugin in a library submodule add 
[stderr] targetCompatibility = '1.7'
[stderr] sourceCompatibility = '1.7'
[stderr] to that submodule's build.gradle file.

Hi, I encountered the same errors. Could you please help to check https://expo.io/builds/c972a13c-77c1-4387-bc0a-16fa5c2b57d0

Hi, we’re really sorry about this. We’re deploying a fix right now, which should be available soon. You can see updates at https://status.expo.io/ . Let us know if you continue to have issues after the fix is deployed!

Thanks for your reponse.
However, how long will your fix effect?
I’ve just tried and still be failed.
https://expo.io/builds/6641d0f2-a21a-40d1-af95-69a9622d7caa

@fabxiii - the fix finished deploying last night. Your build should work if you run it again now. Sorry for the inconvenience!

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