mozilla / rust-android-gradle

Apache License 2.0
1.03k stars 67 forks source link

Could not start 'rustc' #126

Open DannyAhmedApex opened 1 year ago

DannyAhmedApex commented 1 year ago

Task :generateLinkerWrapper Task :fearless-utils:cargoBuildArm FAILED

FAILURE: Build failed with an exception.

DannyAhmedApex commented 1 year ago

it's working fine on ly local machine but having issue on building a library on jitpack.io

DecodingSL commented 12 months ago

bro,I have the same problem as you, the cause of the problem is to upgrade the Gradle version, AGP JDK. When I try to lower their version to be consistent with the warehouse, the problem disappears.

DecodingSL commented 12 months ago

The AGP version I use is 7.4.1, the Gradle Version is 7.6, and the JDK version is 11. Gradle and AGP may affect him.

DecodingSL commented 12 months ago

I also downgraded an ndk version, my ndk version is now 23.1.7779620, this is also the possible reason