[
https://issues.apache.org/jira/browse/CB-5447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13858905#comment-13858905
]
Andrew Grieve commented on CB-5447:
-----------------------------------
Verified that removing it still causes it to be there when running
./cordova/build --debug.
Used:
aapt l -a bin/CordovaExample-release-unsigned.apk
Android manifest:
N: android=http://schemas.android.com/apk/res/android
E: manifest (line=20)
A: android:versionCode(0x0101021b)=(type 0x10)0x1
A: android:versionName(0x0101021c)="1.0" (Raw: "1.0")
A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x20
A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
A: package="my.cordova.project" (Raw: "my.cordova.project")
E: supports-screens (line=22)
A: android:anyDensity(0x0101026c)=(type 0x12)0xffffffff
A: android:smallScreens(0x01010284)=(type 0x12)0xffffffff
A: android:normalScreens(0x01010285)=(type 0x12)0xffffffff
A: android:largeScreens(0x01010286)=(type 0x12)0xffffffff
A: android:resizeable(0x0101028d)=(type 0x12)0xffffffff
A: android:xlargeScreens(0x010102bf)=(type 0x12)0xffffffff
E: uses-permission (line=31)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw:
"android.permission.INTERNET")
E: application (line=33)
A: android:label(0x01010001)=@0x7f040000
A: android:icon(0x01010002)=@0x7f020000
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
E: activity (line=35)
A: android:theme(0x01010000)=@0x1030009
A: android:label(0x01010001)=@0x7f040000
A: android:name(0x01010003)="CordovaExample" (Raw: "CordovaExample")
A: android:configChanges(0x0101001f)=(type 0x11)0x4b4
E: intent-filter (line=38)
E: action (line=39)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw:
"android.intent.action.MAIN")
E: category (line=40)
A: android:name(0x01010003)="android.intent.category.LAUNCHER"
(Raw: "android.intent.category.LAUNCHER")
E: uses-sdk (line=45)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0xa
> Release build Android keeps android:debuggable=“true”
> -----------------------------------------------------
>
> Key: CB-5447
> URL: https://issues.apache.org/jira/browse/CB-5447
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, CLI
> Affects Versions: 3.0.0, 3.1.0
> Environment: OS X Mavericks
> Reporter: Dirk-Jan Hoek
> Fix For: 3.4.0
>
>
> I'm trying to release an Android app using the CLI.
> When running 'cordova build android --release', I noticed the following
> setting in AndroidManifest.xml: "android:debuggable="true".
> This setting prevents anyone from uploading to the Play Store.
> I've solved this by adding a cordova-hook that sets this value to "false".
> Shouldn't this be done by default when building with the '--release' flag?
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)