Android Java.Exe Finished With Non-Zero Exit Value 1

Android java.exe finished with non-zero exit value 1

It must have been a problem with my Java install. I removed all traces of Java (C://program files/Java/jdk) and jre folders and reinstalled it from the official page and now it works fine.

Finished with non-zero exit value 1

If you have any libraries in your libs folder --> Right Click > Add as library

Then delete this line > compile fileTree(include: ['*.jar'], dir: 'libs')

OR

It must have been a problem with the Java install. Remove all traces of Java and reinstall. Answer here Android java.exe finished with non-zero exit value 1

java.exe finished with non-zero exit value 1

Unfortunately you cannot directly use Apache POI on Android due to third party library dependencies that are pulled in. Also the size of the library causes a very big application file, which is often not possible/desirable. You even sometimes exceed limits imposed by the Dalvik Android Bytecode compilation.

There are some resources available which discuss how to get POI running on Android:

  • https://github.com/andruhon/android5xlsx - repackaged jars with duplicate packages in XMLBeans removed
  • http://blog.kondratev.pro/2015/08/reading-xlsx-on-android-4-and-hopefully.html
  • Apache POI with Android -- How to Create ,Read , Write, Delete PowerPoint Presentations?


Related Topics



Leave a reply



Submit