.apk file build with Rhohub not working on the device

六月ゝ 毕业季﹏ 提交于 2019-12-20 05:56:53

问题


After installing the .apk file in my device ,when i am trying to open it it is saying Unfortunately the application has stopped. Its working fine on my Rhomobile's Android Rhosimulator,then I cant understand why it is saying so.

Update: Today I built the .apk file in my local machine which size is 11mb compare to the size of the .apk file which I had built on Rhohub which was 3.5mb,One interesting fact is that the file built on local machine is working but it has created 2 more problems: 1. The .apk file size is too much for a simple application which my fellow developer had built purely on android and java and it was 1 mb. 2. The css file which I has included is working some time when I open the application and some times it doesn't work.

Guys can you help me to reduce the file size I know that being cross platform(Rhomobile) size may be large but 11 times more is too much.


回答1:


Ok guys I dont know how it happened, I think because I didn't try to run the application with any other android versions.
So finally my application was created successfully and built with only 2.5mb.




回答2:


Same is the case with me. I just have Rholog.txt and i have a question, do we need Android SDK on local system configured in Rhostudio to make the app work on actual android device.

For testing i use rhosimulator inside rhostudio.



来源:https://stackoverflow.com/questions/13270129/apk-file-build-with-rhohub-not-working-on-the-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!