Установить Steam
войти
|
язык
简体中文 (упрощенный китайский)
繁體中文 (традиционный китайский)
日本語 (японский)
한국어 (корейский)
ไทย (тайский)
Български (болгарский)
Čeština (чешский)
Dansk (датский)
Deutsch (немецкий)
English (английский)
Español - España (испанский)
Español - Latinoamérica (латиноам. испанский)
Ελληνικά (греческий)
Français (французский)
Italiano (итальянский)
Bahasa Indonesia (индонезийский)
Magyar (венгерский)
Nederlands (нидерландский)
Norsk (норвежский)
Polski (польский)
Português (португальский)
Português-Brasil (бразильский португальский)
Română (румынский)
Suomi (финский)
Svenska (шведский)
Türkçe (турецкий)
Tiếng Việt (вьетнамский)
Українська (украинский)
Сообщить о проблеме с переводом
If so, can you just open one of the examples which came with AGKv2 and export that to an APK and see if that works on your device?
lets figure out if its your app thats the issue, or the export of any app from the editor thats the issue.
also do you have another android device to try this on, to see if its your device thats the issue.
Lets try and isolate whats causing this.
:)
Yes I made this app my self, just a very basic calculator to Learn AGK 2 and test android export so I don't mind to share the project file if it helps.
But I have also exported an example comes wiith AGK2 (GasCloud) and I get the same error :(
Unfortunately I don't have any other Android device around here but I've used HTML5 to APK build services before such as IntelXDK and Crosswalk, not directly but tools using these services to provide cross-platform development and the apk's from these tools did work on my device.
Have you tried uninstalling and re installing AGKv2 on Steam?
Maybe I can get my hands on an other android device later today so I can test if it something with my device or not, but would be nice if someone with access to AGK 2 and an android device could test it with the GasCloud example :) If it fail to install also on other devices, it should be a problem with AGK 2...
How are you getting the APK onto your device?
Are you using a USB cable or some kind of file sharing like google Drive?
Did ou manage to get another android device to test this on?
No, I did not managed to get one, maybe tomorrow but in case the export works for you it can be a compatibility problem with my Android 4.2
This is a cheap "AllWinner" tablet. I don't know if the version of the OS or the origin/manufacturer of the tablet do anything with the error but at least seems like it not complatly broken, other devices (probably the most popular ones running updated versions of Android) can run the exported apps :)
Thanks.
When you export the project to an APK, there are two versions of the Android SDK to choose from, SDK 2.3.1 and SDK 3.2.
Have you tried both to see if they both give this error?
Some places mentioning, such error can be caused also by the AndroidManifest.xml inside the pack. I don't know if it actually do anything with the error I get, but basically, during installation, the OS is reading this file to see what is the name and version of the app, what permissions are required, what Android version is recommended and what locations are used in the internal memory by the app and if the OS can't read the file or there is a typo in the file (lower case, upper case letters, spaces, dots) it can cause parse error.
If it is a compatibility problem with my Android version, maybe it because of the format or encoding of the Manifest file. I'm going to look at the manifest file of the other apk's later I have from other tools (and can install and run on this device) to see if I can get it to work by making my own manifest file.
I have also tried to install the AGK 2 player.apk comes with AGK 2 (not from the store), and I can install that with no problems but not the apps exported from AGK 2.
I think I leave it as is until a developer come around with some thoughts on this.
At the momnet I could afford to buy Android devces running Android v4.4 KitKat, but if I get the same error it would be just waste of money as I don't need new android device for personal use, but I would buy one for development. I think TGC should officially highlight what Android versions are actually supported out of the box by using Tier1 (Basic).
v4.0 and v4.2 clearly not supported to install exported apk's as "non Market apps", maybe can be solved by uploading them to a Market but I'm not in tha situation to be able to do that.
But at least the AGK 2 Player works flawlessly so I can still test my apps even on this old versions until I can afford a new android device running newest version of android or find a solution to install and run AGK 2 apps on this old versions :)
You not gonna believe it XD
When I was enter the package name, a message box did come up and saying I need to use at least one dot (.) in my package name, and so I decided to go with "name_1.0" and the Android system didn't like this but I never thought it could be a problem as have been told I need to use a dot, so there you go, you have a dot right there, have a nice day. And I was doing this every single time. But now I have noticed the hint "A-Z. and underscore only, should be in the format com.mycompany.my_app" I was follow the hint and named my package using only A-Z._ and guess what? IT WORKS! I spent my whole weekend looking for a solution because of "1.0" in the package name....
I can't believe it.
So here is the solution:
NEVER USE NUMBERS IN YOUR PACKAGE NAME!!
Thanks for all the help :)
Glad it all worked out for you buddy