.apk file build with Rhohub not working on the dev

2019-03-04 08:13发布

问题:

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.