Hey all,
after trying for a long while I have yet to successfully compile an android app in Xojo. I am using Windows 11 and the latest build of Xojo 2023r2
Every time I try to compile I get this message box marked “Progress”
and nothing else happens, I have tried compiling with the emulator launched but android studio closed then with the emulator and android studio both closed and every time I get the above message. after closing the messagebox it gives me the below error.
Android Compiler
An internal Android Compiler error occurred.
Please create an Issue (xojo.com/issues) and attach your project (privately, if necessary) so that Xojo can investigate the error.
I have tried uninstalling android studio completely using various methods including the tutorial at Xojo Documentation and also re-installing following another tutorial using Xojo Docs, still nothing.
I have created a new emulator and closed android studio before compiling and really am stumped on what I should be doing.
Below is the data I collected from DebugView when compiling an android app.
00000001 0.00000000 [24644] [20230811 23:28:11.207 debug unknown 0 unknown] req: http://api.packetshare.io/api/account/userinfo , post_data:
00000002 0.00023850 [24644] [20230811 23:28:18.178 debug unknown 0 unknown] createHttpHeader--------------------------->
00000003 0.00050030 [24644] [20230811 23:28:18.247 debug unknown 0 unknown] _session: "0c786c6c1247291cec50846a80ac3aff"
00000004 0.00088990 [24644] [20230811 23:28:18.247 debug unknown 0 unknown] _username: ""
00000005 0.00184940 [24644] [20230811 23:28:18.247 debug unknown 0 unknown] channel: "official"
00000006 0.00209640 [24644] [20230811 23:28:18.248 debug unknown 0 unknown] sign: "_brand=packetshare&_channel=official&_device_os=windows&_language=en&_oem=default&_os_version=windows10&_prj_name=tomvpn&_salt=308da20378859247914994fc8c1bd96f&_session=0c786c6c1247291cec50846a80ac3aff&_sn=308da20378859247914994fc8c1bd96f&_timestamp=1691792898&_version=9&_version_show=1.0.9L@xc[7Y{<lu+1^K*"
00000007 0.00501070 [24644] [20230811 23:28:18.252 debug unknown 0 unknown] http post success!
00000008 0.00501070 [24644]
00000009 0.43159640 [24644] [20230811 23:28:18.678 debug unknown 0 unknown] resp code: 200
00000010 0.43172100 [24644] [20230811 23:28:18.678 debug unknown 0 unknown] resp: "http://api.packetshare.io/api/account/userinfo" : QJsonObject({"code":0,"data":{"CreatedAt":1690631619,"Device":"9e920a6ca2256a3da4c24fa823801276","Email":"inconon02@gmail.com","Fsm":{"all":{"Flow":1012909.8,"Money":202.58,"Score":202581.96},"last":{"Flow":97847.89,"Money":19.57,"Score":19569.58},"today":{"Flow":31095.52,"Money":6.22,"Score":6219.1}},"ID":41028,"IsGive":1,"IsTourists":0,"LastLoginIp":"212.252.143.135","LastLoginRegion":0,"LastLoginTime":1691792591,"OnlineGivePoints":100,"Origin":"www.packetshare.io-Anatolii-Anatolii","OriginType":0,"Password":"95201ea37f1e2d21edf23562edbc4fe0","RegIp":"195.230.115.52","RegRegion":"59|???|0|0|0|0","Status":1,"Terminal":"windows","UpdatedAt":1691792591},"msg":"Success","time":1691792898})
00000011 0.43232071 [24644] [20230811 23:28:18.679 debug unknown 0 unknown] dealUserInfo: QJsonObject({"code":0,"data":{"CreatedAt":1690631619,"Device":"9e920a6ca2256a3da4c24fa823801276","Email":"inconon02@gmail.com","Fsm":{"all":{"Flow":1012909.8,"Money":202.58,"Score":202581.96},"last":{"Flow":97847.89,"Money":19.57,"Score":19569.58},"today":{"Flow":31095.52,"Money":6.22,"Score":6219.1}},"ID":41028,"IsGive":1,"IsTourists":0,"LastLoginIp":"212.252.143.135","LastLoginRegion":0,"LastLoginTime":1691792591,"OnlineGivePoints":100,"Origin":"www.packetshare.io-Anatolii-Anatolii","OriginType":0,"Password":"95201ea37f1e2d21edf23562edbc4fe0","RegIp":"195.230.115.52","RegRegion":"59|???|0|0|0|0","Status":1,"Terminal":"windows","UpdatedAt":1691792591},"msg":"Success","time":1691792898})
00000012 0.43296531 [24644] [20230811 23:28:18.679 debug unknown 0 unknown] last flow: 19.57
00000013 0.43298900 [24644] [20230811 23:28:18.679 debug unknown 0 unknown] userInfo session: "0c786c6c1247291cec50846a80ac3aff"
00000014 0.43307739 [24644] [20230811 23:28:18.680 debug unknown 0 unknown] req: http://api.packetshare.io/api/stats/use_flow , post_data:
00000015 0.43311980 [24644] [20230811 23:28:18.680 debug unknown 0 unknown] createHttpHeader--------------------------->
00000016 0.43316659 [24644] [20230811 23:28:18.680 debug unknown 0 unknown] _session: "0c786c6c1247291cec50846a80ac3aff"
00000017 0.43318951 [24644] [20230811 23:28:18.680 debug unknown 0 unknown] _username: ""
00000018 0.43369329 [24644] [20230811 23:28:18.680 debug unknown 0 unknown] channel: "official"
00000019 0.43371141 [24644] [20230811 23:28:18.680 debug unknown 0 unknown] sign: "_brand=packetshare&_channel=official&_device_os=windows&_language=en&_oem=default&_os_version=windows10&_prj_name=tomvpn&_salt=308da20378859247914994fc8c1bd96f&_session=0c786c6c1247291cec50846a80ac3aff&_sn=308da20378859247914994fc8c1bd96f&_timestamp=1691792898&_version=9&_version_show=1.0.9L@xc[7Y{<lu+1^K*"
00000020 0.43466160 [24644] [20230811 23:28:18.681 debug unknown 0 unknown] http post success!
00000021 0.43466160 [24644]
00000022 0.43470889 [24644] [20230811 23:28:18.681 debug qrc:/main.qml 165 expression for onUserInfoStatus] ????????
00000023 0.85737002 [24644] [20230811 23:28:19.104 debug unknown 0 unknown] resp code: 200
00000024 0.85744298 [24644] [20230811 23:28:19.104 debug unknown 0 unknown] resp: "http://api.packetshare.io/api/stats/use_flow" : QJsonObject({"code":0,"data":{"day":["07-28","07-29","07-30","07-31","08-01","08-02","08-03","08-04","08-05","08-06","08-07","08-08","08-09","08-10","08-11","08-12"],"flow":["0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","23966.73"]},"msg":"Success","time":1691792898})
00000025 0.85751009 [24644] [20230811 23:28:19.104 debug unknown 0 unknown] dealGetUseFlow: QJsonObject({"code":0,"data":{"day":["07-28","07-29","07-30","07-31","08-01","08-02","08-03","08-04","08-05","08-06","08-07","08-08","08-09","08-10","08-11","08-12"],"flow":["0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","23966.73"]},"msg":"Success","time":1691792898})
00000026 0.85756040 [24644] [20230811 23:28:19.104 debug qrc:/main.qml 189 expression for onSendGetUseFlowStatus] ???????
00000027 0.85764462 [24644] [20230811 23:28:19.104 debug qrc:/main.qml 256 redrawChart] ????-------------->
00000028 0.85769439 [24644] [20230811 23:28:19.104 warning qrc:/QChartJs.qml 38 unknown] qrc:/QChartJs.qml:38: TypeError: Cannot call method 'initialize' of undefined
00000029 51.94055557 [6336] Xojo Android Windows Build Shell unzip command: "C:\Users\robin\AppData\Local\Temp\xojo scratch 6336\untitled [ECFC6718]\AndroidBuilds\untitled_767CCEA5-C8B3-4E9B-B1F2-5257D203D17D/extract.bat"
00000030 52.21759415 [6336] Xojo Android Windows Build Shell results:
00000031 52.21759415 [6336] C:\Program Files\Xojo\Xojo 2023r2>C:
00000032 52.21759415 [6336]
00000033 52.21759415 [6336] C:\Program Files\Xojo\Xojo 2023r2>cd "C:\Users\robin\AppData\Local\Temp\xojo scratch 6336\untitled [ECFC6718]\AndroidBuilds\untitled_767CCEA5-C8B3-4E9B-B1F2-5257D203D17D"
00000034 52.21759415 [6336]
00000035 52.21759415 [6336] C:\Users\robin\AppData\Local\Temp\xojo scratch 6336\untitled [ECFC6718]\AndroidBuilds\untitled_767CCEA5-C8B3-4E9B-B1F2-5257D203D17D>"C:\PROGRA~1\Android\Android Studio\jbr\bin\jar.exe" -xf "C:\PROGRA~1\Xojo\Xojo 2023r2\Xojo Resources\Frameworks\Android\AndroidTemplate.zip"
00000036 279.33532715 [15716] NPGetCaps 2
00000037 279.33871460 [24644] [20230811 23:32:57.353 debug unknown 0 unknown] _session: "0c786c6c1247291cec50846a80ac3aff"
00000038 279.33966064 [24644] [20230811 23:32:57.582 debug unknown 0 unknown] _username: ""
00000039 279.34094238 [24644] [20230811 23:32:57.585 debug unknown 0 unknown] channel: "official"
00000040 279.34210205 [24644] [20230811 23:32:57.586 debug unknown 0 unknown] sign: "_brand=packetshare&_channel=official&_device_os=windows&_language=en&_oem=default&_os_version=windows10&_prj_name=tomvpn&_salt=308da20378859247914994fc8c1bd96f&_session=0c786c6c1247291cec50846a80ac3aff&_sn=308da20378859247914994fc8c1bd96f&_timestamp=1691793177&_version=9&_version_show=1.0.9L@xc[7Y{<lu+1^K*"
00000041 279.34304810 [24644] [20230811 23:32:57.588 debug unknown 0 unknown] http post success!
00000042 279.34304810 [24644]
00000043 279.34429932 [24644] [20230811 23:32:57.589 debug unknown 0 unknown] "http://api.packetshare.io/api/account/userinfo" time out
00000044 279.34597778 [24644] [20230811 23:32:57.589 debug qrc:/main.qml 118 expression for onSendTimeOutInterface] interface time out: userInfo
00000045 280.01000977 [24644] [20230811 23:32:57.998 debug unknown 0 unknown] resp code: 200
00000046 280.01104736 [24644] [20230811 23:32:57.999 debug unknown 0 unknown] resp: "http://api.packetshare.io/api/account/userinfo" : QJsonObject({"code":0,"data":{"CreatedAt":1690631619,"Device":"9e920a6ca2256a3da4c24fa823801276","Email":"inconon02@gmail.com","Fsm":{"all":{"Flow":1012909.8,"Money":202.58,"Score":202581.96},"last":{"Flow":97847.89,"Money":19.57,"Score":19569.58},"today":{"Flow":31095.52,"Money":6.22,"Score":6219.1}},"ID":41028,"IsGive":1,"IsTourists":0,"LastLoginIp":"212.252.143.135","LastLoginRegion":0,"LastLoginTime":1691792591,"OnlineGivePoints":100,"Origin":"www.packetshare.io-Anatolii-Anatolii","OriginType":0,"Password":"95201ea37f1e2d21edf23562edbc4fe0","RegIp":"195.230.115.52","RegRegion":"59|???|0|0|0|0","Status":1,"Terminal":"windows","UpdatedAt":1691792591},"msg":"Success","time":1691793177})
00000047 280.01239014 [24644] [20230811 23:32:58.257 debug unknown 0 unknown] dealUserInfo: QJsonObject({"code":0,"data":{"CreatedAt":1690631619,"Device":"9e920a6ca2256a3da4c24fa823801276","Email":"inconon02@gmail.com","Fsm":{"all":{"Flow":1012909.8,"Money":202.58,"Score":202581.96},"last":{"Flow":97847.89,"Money":19.57,"Score":19569.58},"today":{"Flow":31095.52,"Money":6.22,"Score":6219.1}},"ID":41028,"IsGive":1,"IsTourists":0,"LastLoginIp":"212.252.143.135","LastLoginRegion":0,"LastLoginTime":1691792591,"OnlineGivePoints":100,"Origin":"www.packetshare.io-Anatolii-Anatolii","OriginType":0,"Password":"95201ea37f1e2d21edf23562edbc4fe0","RegIp":"195.230.115.52","RegRegion":"59|???|0|0|0|0","Status":1,"Terminal":"windows","UpdatedAt":1691792591},"msg":"Success","time":1691793177})
00000048 280.01391602 [24644] [20230811 23:32:58.258 debug unknown 0 unknown] last flow: 19.57
00000049 280.01501465 [24644] [20230811 23:32:58.259 debug unknown 0 unknown] userInfo session: "0c786c6c1247291cec50846a80ac3aff"
00000050 280.01574707 [24644] [20230811 23:32:58.261 debug unknown 0 unknown] req: http://api.packetshare.io/api/stats/use_flow , post_data:
00000051 280.01647949 [24644] [20230811 23:32:58.262 debug unknown 0 unknown] createHttpHeader--------------------------->
00000052 280.01724243 [24644] [20230811 23:32:58.263 debug unknown 0 unknown] _session: "0c786c6c1247291cec50846a80ac3aff"
00000053 280.01800537 [24644] [20230811 23:32:58.263 debug unknown 0 unknown] _username: ""
00000054 280.01879883 [24644] [20230811 23:32:58.264 debug unknown 0 unknown] channel: "official"
00000055 280.01998901 [24644] [20230811 23:32:58.265 debug unknown 0 unknown] sign: "_brand=packetshare&_channel=official&_device_os=windows&_language=en&_oem=default&_os_version=windows10&_prj_name=tomvpn&_salt=308da20378859247914994fc8c1bd96f&_session=0c786c6c1247291cec50846a80ac3aff&_sn=308da20378859247914994fc8c1bd96f&_timestamp=1691793178&_version=9&_version_show=1.0.9L@xc[7Y{<lu+1^K*"
00000056 280.02078247 [24644] [20230811 23:32:58.267 debug unknown 0 unknown] http post success!
00000057 280.02078247 [24644]
00000058 280.02297974 [24644] [20230811 23:32:58.267 debug qrc:/main.qml 165 expression for onUserInfoStatus] ????????
00000059 280.50958252 [24644] [20230811 23:32:58.621 debug unknown 0 unknown] resp code: 200
00000060 280.51037598 [24644] [20230811 23:32:58.621 debug unknown 0 unknown] resp: "http://api.packetshare.io/api/stats/use_flow" : QJsonObject({"code":0,"data":{"day":["07-28","07-29","07-30","07-31","08-01","08-02","08-03","08-04","08-05","08-06","08-07","08-08","08-09","08-10","08-11","08-12"],"flow":["0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","23966.73"]},"msg":"Success","time":1691793178})
00000061 280.51119995 [24644] [20230811 23:32:58.757 debug unknown 0 unknown] dealGetUseFlow: QJsonObject({"code":0,"data":{"day":["07-28","07-29","07-30","07-31","08-01","08-02","08-03","08-04","08-05","08-06","08-07","08-08","08-09","08-10","08-11","08-12"],"flow":["0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","23966.73"]},"msg":"Success","time":1691793178})
00000062 280.51254272 [24644] [20230811 23:32:58.758 debug qrc:/main.qml 189 expression for onSendGetUseFlowStatus] ???????
00000063 280.51345825 [24644] [20230811 23:32:58.758 debug qrc:/main.qml 256 redrawChart] ????-------------->
00000064 280.51434326 [24644] [20230811 23:32:58.760 warning qrc:/QChartJs.qml 38 unknown] qrc:/QChartJs.qml:38: TypeError: Cannot call method 'initialize' of undefined
00000065 287.02120972 [6336] Xojo Android Windows Build Shell unzip command: "C:\Users\robin\AppData\Local\Temp\xojo scratch 6336\untitled [ECFC6718]\AndroidBuilds\untitled_767CCEA5-C8B3-4E9B-B1F2-5257D203D17D/extract.bat"
00000066 287.02230835 [6336] Xojo Android Windows Build Shell results:
00000067 287.02230835 [6336] C:\Program Files\Xojo\Xojo 2023r2>C:
00000068 287.02230835 [6336]
00000069 287.02230835 [6336] C:\Program Files\Xojo\Xojo 2023r2>cd "C:\Users\robin\AppData\Local\Temp\xojo scratch 6336\untitled [ECFC6718]\AndroidBuilds\untitled_767CCEA5-C8B3-4E9B-B1F2-5257D203D17D"
00000070 287.02230835 [6336]
00000071 287.02230835 [6336] C:\Users\robin\AppData\Local\Temp\xojo scratch 6336\untitled [ECFC6718]\AndroidBuilds\untitled_767CCEA5-C8B3-4E9B-B1F2-5257D203D17D>"C:\PROGRA~1\Android\Android Studio\jbr\bin\jar.exe" -xf "C:\PROGRA~1\Xojo\Xojo 2023r2\Xojo Resources\Frameworks\Android\AndroidTemplate.zip"
00000072 293.51086426 [24644] [20230811 23:33:11.332 debug unknown 0 unknown] req: http://api.packetshare.io/api/account/userinfo , post_data:
00000073 293.51202393 [24644] [20230811 23:33:11.332 debug unknown 0 unknown] createHttpHeader--------------------------->
00000074 293.51315308 [24644] [20230811 23:33:11.758 debug unknown 0 unknown] _session: "0c786c6c1247291cec50846a80ac3aff"
00000075 293.51400757 [24644] [20230811 23:33:11.759 debug unknown 0 unknown] _username: ""
00000076 293.51498413 [24644] [20230811 23:33:11.760 debug unknown 0 unknown] channel: "official"
00000077 293.51617432 [24644] [20230811 23:33:11.761 debug unknown 0 unknown] sign: "_brand=packetshare&_channel=official&_device_os=windows&_language=en&_oem=default&_os_version=windows10&_prj_name=tomvpn&_salt=308da20378859247914994fc8c1bd96f&_session=0c786c6c1247291cec50846a80ac3aff&_sn=308da20378859247914994fc8c1bd96f&_timestamp=1691793191&_version=9&_version_show=1.0.9L@xc[7Y{<lu+1^K*"
00000078 293.51794434 [24644] [20230811 23:33:11.763 debug unknown 0 unknown] http post success!
00000079 293.51794434 [24644]
00000080 294.52270508 [24644] [20230811 23:33:12.350 debug unknown 0 unknown] resp code: 200
00000081 294.52352905 [24644] [20230811 23:33:12.350 debug unknown 0 unknown] resp: "http://api.packetshare.io/api/account/userinfo" : QJsonObject({"code":0,"data":{"CreatedAt":1690631619,"Device":"9e920a6ca2256a3da4c24fa823801276","Email":"inconon02@gmail.com","Fsm":{"all":{"Flow":1012909.8,"Money":202.58,"Score":202581.96},"last":{"Flow":97847.89,"Money":19.57,"Score":19569.58},"today":{"Flow":31095.52,"Money":6.22,"Score":6219.1}},"ID":41028,"IsGive":1,"IsTourists":0,"LastLoginIp":"212.252.143.135","LastLoginRegion":0,"LastLoginTime":1691793192,"OnlineGivePoints":100,"Origin":"www.packetshare.io-Anatolii-Anatolii","OriginType":0,"Password":"95201ea37f1e2d21edf23562edbc4fe0","RegIp":"195.230.115.52","RegRegion":"59|???|0|0|0|0","Status":1,"Terminal":"windows","UpdatedAt":1691793192},"msg":"Success","time":1691793192})
00000082 294.52484131 [24644] [20230811 23:33:12.770 debug unknown 0 unknown] dealUserInfo: QJsonObject({"code":0,"data":{"CreatedAt":1690631619,"Device":"9e920a6ca2256a3da4c24fa823801276","Email":"inconon02@gmail.com","Fsm":{"all":{"Flow":1012909.8,"Money":202.58,"Score":202581.96},"last":{"Flow":97847.89,"Money":19.57,"Score":19569.58},"today":{"Flow":31095.52,"Money":6.22,"Score":6219.1}},"ID":41028,"IsGive":1,"IsTourists":0,"LastLoginIp":"212.252.143.135","LastLoginRegion":0,"LastLoginTime":1691793192,"OnlineGivePoints":100,"Origin":"www.packetshare.io-Anatolii-Anatolii","OriginType":0,"Password":"95201ea37f1e2d21edf23562edbc4fe0","RegIp":"195.230.115.52","RegRegion":"59|???|0|0|0|0","Status":1,"Terminal":"windows","UpdatedAt":1691793192},"msg":"Success","time":1691793192})
00000083 294.52627563 [24644] [20230811 23:33:12.771 debug unknown 0 unknown] last flow: 19.57
00000084 294.52749634 [24644] [20230811 23:33:12.772 debug unknown 0 unknown] userInfo session: "0c786c6c1247291cec50846a80ac3aff"
00000085 294.52844238 [24644] [20230811 23:33:12.773 debug unknown 0 unknown] req: http://api.packetshare.io/api/stats/use_flow , post_data:
00000086 294.52926636 [24644] [20230811 23:33:12.775 debug unknown 0 unknown] createHttpHeader--------------------------->
00000087 294.53002930 [24644] [20230811 23:33:12.776 debug unknown 0 unknown] _session: "0c786c6c1247291cec50846a80ac3aff"
00000088 294.53076172 [24644] [20230811 23:33:12.776 debug unknown 0 unknown] _username: ""
00000089 294.53149414 [24644] [20230811 23:33:12.777 debug unknown 0 unknown] channel: "official"
00000090 294.53274536 [24644] [20230811 23:33:12.778 debug unknown 0 unknown] sign: "_brand=packetshare&_channel=official&_device_os=windows&_language=en&_oem=default&_os_version=windows10&_prj_name=tomvpn&_salt=308da20378859247914994fc8c1bd96f&_session=0c786c6c1247291cec50846a80ac3aff&_sn=308da20378859247914994fc8c1bd96f&_timestamp=1691793192&_version=9&_version_show=1.0.9L@xc[7Y{<lu+1^K*"
00000091 294.53366089 [24644] [20230811 23:33:12.779 debug unknown 0 unknown] http post success!
00000092 294.53366089 [24644]
00000093 294.53570557 [24644] [20230811 23:33:12.780 debug qrc:/main.qml 165 expression for onUserInfoStatus] ????????
Any help/guidence would be greatly appreciated!
Robin