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
Accepting Https Connections With Self-Signed Certificates
Sharedpreferences.Onsharedpreferencechangelistener Not Being Called Consistently
How to Read Contacts on Android 2.0
How to Implement Onfragmentinteractionlistener
Android Fragment Handle Back Button Press
How to Get HTML Content from a Webview
Android Min Sdk Version Vs. Target Sdk Version
Disable Back Button in Android
Handle Textview Link Click in My Android App
Android Studio Suddenly Cannot Resolve Symbols
How to Programmatically Set Style Attribute in a View
Android Asynctask Sending Callbacks to Ui
Automatically Accept All Sdk Licences