Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology
Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered
You are not logged in.
when I try to install apk to my android phone(sony xperia xz),it shows the error information "there was a problem parsing the package android" please help me solve this problem
Offline
Hello,
What are the settings you choose during the export ?
try the default architecture (all) and make a key for the app
dear arkeon:
I try to make key ,but it show the erro information , so I install java jdk and use command
"C:\Program Files\Java\jdk1.8.0_131\bin\keytool" "-genkey" "-v" "-keystore" "appkey.keystore" "-alias" "ARapp" "-keyalg" "RSA" "-keysize" "2024" "-validity" "1000"
to generate appkey.keystore
then I can export the project to apk file.
and use the command
copy "c:\OS3D_portable_x64\OpenSpace3D\easypart\appkey.keystore" "C:\Program Files\Java\jdk1.8.0_131\bin\appkey.keystore"
copy "c:\OS3D_portable_x64\OpenSpace3D\test\export\android_all\1\bin\1.unsigned.apk" "C:\Program Files\Java\jdk1.8.0_131\bin\1.unsigned.apk"
"C:\Program Files\Java\jdk1.8.0_131\bin\jarsigner.exe" "-verbose" "-sigalg" "SHA1withRSA" "-digestalg" "SHA1" "-keystore" "C:\Program Files\Java\jdk1.8.0_131\bin\appkey.keystore" "C:\Program Files\Java\jdk1.8.0_131\bin\1.unsigned.apk" "ARapp"
then use the command
"c:\OS3D_portable_x64\androidDeployerTools\zipalign.exe" "-v" "4" "c:\OS3D_portable_x64\androidDeployerTools\1.unsigned.apk" "c:\OS3D_portable_x64\androidDeployerTools\ARapp.apk"
and copy to my smartphone to install ,however it shows error.
it can work at openspace3d1.82 but 1.83 will export the apk file instead unsigned.apk
so I can`t install to my smartphone
this is the error picture
https://drive.google.com/file/d/1Y4tU0_ … sp=sharing
please help me solve the problem, thank you!
Last edited by teacherone (22-Apr-2020 12:19:28)
Offline
Hello,
OpenSpace3D do all that for you.
you just need to export the apk file with all platforms, then check install to connected device.
It will sign and copy install the apk on your phone.
The generated apk is already signed.
If you have an error when generating keystore / apk you need an internet connexion to make it work to validate the key timestamp.
Offline
dear arkeon:
I try with english characters ,but still show error
it shows
Exception in thread "main" java.lang.ExceptionInInitalizerError
at sun.nio.fs.WindowsFileSystem.<init>(Unknown Source)
at sun.nio.fs.WindowsFileSystemProvider.<init>(Unknown Source)
at sun.nio.fs.DefaultFileSystemprovider.create(Unknown Source)
.........
the error message
https://photos.app.goo.gl/wmeaPPjTM2mP27d89
Offline
Weird ^^
Please try by disabling antivirus / firewall
you can find the android tools from here C:\Program Files\Scol Voyager\androidDeployerTools
or ./androidDeployerTools for portable version.
Maybe you can try to update some files from the version installed on your computer. maybe it don't like the OS with Chinese language. But it seems to work for computers in Russian so I'm not sure of the issue.
Offline
Weird ^^
Please try by disabling antivirus / firewallyou can find the android tools from here C:\Program Files\Scol Voyager\androidDeployerTools
or ./androidDeployerTools for portable version.
Maybe you can try to update some files from the version installed on your computer. maybe it don't like the OS with Chinese language. But it seems to work for computers in Russian so I'm not sure of the issue.
dear arkeon:
Thank you for the idea,it help me to find a way to solve this problem,
but I`m still to test it . thanks again!
Offline
dear arkeon:
one of my friend solvethe problem by put chartsets.jar to \androidDeployerTools\lib\
and everything turn right.
hope it will help!
Offline