Main forum > GLBasic - en
Android debug certificate has expired!
bigsofty:
I just got my first Android device today and I am in the process of installing JSDK 7 and Android SDK as I type, should I just use the latest V11 beta or the above fix for V10?
Wampus:
Don't use JDK 7! It has problems that need ironing out. It gave me a real hard time, especially mixing 32bit and 64bit versions.
Uninstall it completely then install the latest JDK 6.
PaLe:
Hi there,
(translated with Google) ;)
I have always compiled on Android with GLBasic without problems,
But yesterday I discovered, unfortunately, have expired certificates.
I followed this post but without success. :(
I get this message after compilation.
_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.9.829 SN:13f2e703 - 3D, NET
Wordcount:138 commands
compile+link:
running Android build-script...
BUILD STAGE 1: Compile and pack
[echo] Creating output directories if needed...
[echo] Compiling aidl files into Java classes...
[echo] Compiling RenderScript files into Java classes and RenderScript bytecode...
[echo] Generating R.java / Manifest.java from the resources...
[echo] Converting compiled files and external libraries into C:\lebbo\POINT\distribute\Android\bin\classes.dex...
[echo] Packaging resources
[echo] No key.store and key.alias properties found in build.properties.
[echo] Please sign C:\lebbo\POINT\distribute\Android\bin\glbasic-unsigned.apk manually
[echo] and run zipalign from the Android SDK tools.
BUILD SUCCESSFUL
Total time: 8 seconds
BUILD STAGE 2: Install on device
[echo] Creating output directories if needed...
[echo] Compiling aidl files into Java classes...
[echo] Compiling RenderScript files into Java classes and RenderScript bytecode...
[echo] Generating R.java / Manifest.java from the resources...
[echo] Converting compiled files and external libraries into C:\lebbo\POINT\distribute\Android\bin\classes.dex...
[echo] Packaging resources
[echo] Running zip align on final apk...
[echo] Debug Package: C:\lebbo\POINT\distribute\Android\bin\glbasic-debug.apk
[echo] Installing C:\lebbo\POINT\distribute\Android\bin\glbasic-debug.apk onto default emulator or device...
BUILD SUCCESSFUL
Total time: 13 seconds
finished Android build-script.
Android=C:\lebbo\POINT\distribute\Android
success
_______________________________________
*** Finished ***
Elapsed: 37.8 sec. Time: 14:00
Build: 1 succeeded.
Apk file is not installed on the device, I think I understand that the APK file is not properly signed (bold lines)
Windows 7 (EN)
JavaSDK 1.6.0_30
Glbasic 10.283 and 11.261
Suggestions?
Reinstall the current SDK or a better version? or... I have to change some parameters in the command I used?
--- Code: ---C:\Users\Administrator\.android>"c:\Program Files\Java\jdk1.6.0_30\bin\keytool.exe" -genkey -keypass android -keystore debug.keystore -alias androiddebugkey -storepass android -validity 1000 -dname "CN=Android Debug,O=Android,C=US"
--- End code ---
Thanks, and Happy ST Patrick Day :booze:
PaLe:
Solved!,
Sorry for the trouble...
mistake novices ... My other application on the device with the same name :whistle:
Navigation
[0] Message Index
[*] Previous page
Go to full version