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

[build.sh] dx call fails #16

Open
rien333 opened this issue Jan 5, 2020 · 0 comments
Open

[build.sh] dx call fails #16

rien333 opened this issue Jan 5, 2020 · 0 comments

Comments

@rien333
Copy link

rien333 commented Jan 5, 2020

When I run ./build.sh, the script fails at the dx call:

termuxlauncher $ ./build.sh 
...
termuxlauncher $ dx --dex --verbose --output ./bin/classes.dex ./obj
processing ./obj/./amsitlab/android/apps/termuxlauncher/MainActivity.class...
processing ./obj/./amsitlab/android/apps/termuxlauncher/MainActivity$1.class...
processing ./obj/./amsitlab/android/apps/termuxlauncher/R.class...
processing ./obj/./amsitlab/android/apps/termuxlauncher/R$attr.class...
processing ./obj/./amsitlab/android/apps/termuxlauncher/R$mipmap.class...
processing ./obj/./amsitlab/android/apps/termuxlauncher/R$string.class...

UNEXPECTED TOP-LEVEL ERROR:
java.lang.AssertionError: Unable to configure default providers
	at sun.security.jca.Providers.<clinit>(Providers.java:74)
	at sun.security.jca.GetInstance.getInstance(GetInstance.java:156)
	at java.security.Security.getImpl(Security.java:628)
	at java.security.MessageDigest.getInstance(MessageDigest.java:197)
	at dx.dx.dex.file.DexFile.calcSignature(DexFile.java:768)
	at dx.dx.dex.file.DexFile.toDex0(DexFile.java:729)
	at dx.dx.dex.file.DexFile.toDex(DexFile.java:271)
	at dx.dx.command.dexer.Main.writeDex(Main.java:865)
	at dx.dx.command.dexer.Main.runMonoDex(Main.java:322)
	at dx.dx.command.dexer.Main.runDx(Main.java:288)
	at dx.dx.command.dexer.Main.main(Main.java:244)
	at dx.dx.command.Main.main(Main.java:95)

Any idea what could be happening?

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

1 participant