AndroidWorks and El Capitan

If you upgrade to El Capitan and run into an issue with packaging or launching for Android and see this in the log:

MainFrameActions: Packaging (Android (ETC1)): Error: JAVA_HOME is not defined correctly.
MainFrameActions: Packaging (Android (ETC1)):   We cannot execute /System/Library/Frameworks/JavaVM.framework/Home/bin/java
MainFrameActions: Packaging (Android (ETC1)): BuildCommand.Execute: ERROR: BUILD FAILED

you can fix this by installing this package:


Thank you a lot! But unfortunatly, I have some problems with oppening the app on my tablet! I use old sony tablet on android marshmallow. I heard, that my problem could be solved by installing new n android. But the error Build failed is still!!! What to do?