error when trying to deploy Android application.
-
@piervalli I guess I didn't make it clear that this used to work. It's when I reinstalled Qt that I began encountering this error. I tried to keep good notes on the steps involved in setting this up, but maybe I missed one.
EDIT:
I have separate kits for the emulator and the tablet. The kit for the tablet used to work fine.
-
@mzimmers the path org.qtproject.example/org.qtproject.qt.android.bindings.QtActivity seems not right. Is it org.qtproject.qt.android.bindings.QtActivity? Do you have a folder: org.qtproject.example? or do you have a customized QtActivity?
-
@JoeCFD said in error when trying to deploy Android application.:
@mzimmers the path org.qtproject.example/org.qtproject.qt.android.bindings.QtActivity seems not right. Is it org.qtproject.qt.android.bindings.QtActivity?
Honestly, I don't recall where I got any of the contents for my android folder. I think it was all auto-generated for me.
Are you suggesting that I remove the "org.qtproject.example" portion?
Do you have a folder: org.qtproject.example?
No.
or do you have a customized QtActivity?
No.
-
@mzimmers Make a copy of your AndroidManifest.xml and delete it from your project.
Then create a new one to see if it helps. If you made changes in it, add them in.Better to keep your working code inside git or svn. Then you will have fewer troubles.
-
@mzimmers Sorry. It seems ok. It is a default package name. I have a different one. But it should not matter. I guess it is something else.
The only thing I can remember is to enable this app run on the settings of tablet. You can try to copy your apk into the tablet and install it to see if it works. I guess you know where it is located.
-
@JoeCFD no, you definitely were on the right track. I went ahead and regenerated the templates, renamed my package and it works now.
Also, when I regenerated the templates, my new file had this line in it (FWIW):
<uses-permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"/>
Thank you both for the help...this Android stuff sure is complicated (and somewhat fragile).
-
-