[Android-development] uid 10084 does not have android.permission.SEND_SMS

Daniel Teske daniel.teske at digia.com
Mon Jan 13 15:51:50 CET 2014


On Monday 13 January 2014 09:48:26 David Marceau wrote:
> I figured this out.  I believe qtcreator has a bug with updating
> AndroidManifest.xml.
> Scenario:
> 1)using qtcreator create a desktop qtquick application call it blah.
> 2)project->add kit...android armv7 eabi->configure
> 3)project rebuild blah
> 4)exit qtcreator
> 5)If you go to the build_blah_android_armv7eabi_debug directory, you
> will see all the qtcreator generated .so's and Makefile.  There is also
> an android directory within it different from the original blah
> directory where you have the original AndroidManifest.xml.
> 6)Go to qtcreator and modify the blah AndroidManifest.xml.  Add a
> permission of your choosing. i.e. android.permission.BROADCAST_SMS
> 7)REBUILD FROM QTCREATOR.
> 8)Exit qtcreator.
> 
> FINALLY, it seems when I go into the build_blah_androidarmv7eabi_debug
> directory, the added android.permission.BROADCAST_SMS never made it to
> this target's android/AndroidManifest.xml.
> 
> Could somebody take a look and confirm this is a bug?
> 
> When I modified that manifest with the permissions I wanted, I built the
> Makefile and then did an ant debug from within this android directory,
> the app once installed didn't give me the permission exception.  It was
> working as expected.
> 
That's not a bug, you are not supposed to edit files in the build directory.

Use the "Create Android Manifest" button in the Project Settings. (Project 
mode/Run Settings/Deploy Configuration.

daniel



More information about the Android-development mailing list