I tried to build android apk, using -ionic buil android. but i got an error like this. any suggestion, what should i do?
Hi ion-frined ,
I also face the same problem couple of days back… After 50 builds I manage to build my APK .
ionic platform rm android
ionic resources
ionic platform add android@latest (5.1.1) for lollipop
ionic run android ( You can view your app in Android Emulator )
- ionic android --release
- ionic build android --release
APK is Ready …
Cheers,
chpbjnaidu
still get the same error T-T
Error: java.lang.RuntimeException: Some file crunching failed, see logs for details
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error: java.lang.RuntimeException: Some file crunching failed, see logs for details
:mergeArmv7DebugResources FAILED
BUILD FAILED
Total time: 13.628 secs
Error: cmd: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:mergeArmv7DebugResources’.
Error: java.lang.RuntimeException: Some file crunching failed, see logs for details
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Did you
or
? This will give more information what is actually going wrong.
Someone seemed to have had a similar error before, then it was connected to path length: