Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle build fails for android because of this package (works fine on iOS) #22

Open
Elue-dev opened this issue Mar 28, 2024 · 3 comments

Comments

@Elue-dev
Copy link

Elue-dev commented Mar 28, 2024

My expo app always fails to build and i get this error:

Execution failed for task ':expo-dynamic-app-icon:compileReleaseKotlin'.
> 'compileReleaseJavaWithJavac' task (current target is 17) and 'compileReleaseKotlin' task (current target is 11) jvm target compatibility should be set to the same Java version.
  Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 7m 45s
927 actionable tasks: 927 executed
Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.

building on iOS works fine, issue only happens on android.

@castdrian
Copy link

Use #18

@PerezCodeT
Copy link

I have the same error. I'm using Expo 50 🫤

@kouloughli-hemza
Copy link

use this :
https://www.npmjs.com/package/nixa-expo-dynamic-app-icon , its fork that fix build issue and duplicate icon issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants