Try setting android:debuggable="true" in the manifest, it's switched off
for release builds (such as when you export an APK).
Then sign, install with "adb install", upload to Market.
To debug, use DDMS to attach to the already running process.
-- Kostya
10.11.2011 16:42, André пишет:
Thanks Francisco,
I tried but it doesn't accept my keystore. After reading:
http://developer.android.com/guide/publishing/app-signing.html Signing
in debug mode. It says:
"If necessary, you can change the location/name of the debug keystore/
key or supply a custom debug keystore/key to use. However, any custom
debug keystore/key must use the same keystore/key names and passwords
as the default debug key (as described above). (To do so in Eclipse/
ADT, go to Windows> Preferences> Android> Build.)
Caution: You cannot release your application to the public when signed
with the debug certificate."
If I understand this correctly it means that I can't sign it for
debugging with my private key and if I can't do that I can't debug
since it's not possible to upload an apk signed with the debug key.
Any suggestions?
//André
On Nov 10, 11:46 am, Francisco Dalla Rosa soares<[email protected]>
wrote:
Go to the Eclipse Settings (not the project one),
there you go to the "Build" tab under "Android".
You should see a "Default debug keystore" option
and a custom debug keystore option.
2011/11/10 André<[email protected]>
I'm trying to debug my app with in-app billing. But when I upload an
apk to the market to test it I obviously need to sign the apk with my
private key but then the keys don't match when I want to use the debug
mode in eclipse. And If I install my exported apk I can't get eclipse
to run the apk for testing on my phone.
So is it possible to change the default android debug key to my own
private or is there another approach?
//André
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
株式会社アルゴ ARGO Inc.
〒130-0012
東京都墨田区太平3-11-10
NTKオオノビル8階
ソアレス フランシスコ ( Soares Francisco )
Mail : [email protected] HP :http://www.argo.bz/
TEL:03-5619-4511 FAX:03-5619-4512
--
Kostya Vasilyev
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en