I just made a game with LibGdx and was trying to run it on the android device, however, I got a error like the following below. I read some article about a similar issue on stackoverflow, however, it did not help me.
If there are some developers out here who knows about the issue, It would be a great if you can give me a helping hand. I would love to hear from you !
19:05:29 Throwable: Unexpected error: package manager reports that package com.mygame.android has not been installed: Expected string 'Package [com.mygame.android]' not found in output:
19:05:36 Gradle build finished in 1 sec
You didn't specify which article you saw, but here's one which has an accepted answer from the original poster. So give these things a try if you haven't already.
Unable to deploy basic android app
Also, have you tried testing the default libgdx project (that displays the badlogic logo image) on your android device? Does this run ok or does this also not work?
Related
I'm getting back to developing android apps recently and the latest Android Studio is giving me this pop up upon launch:
Note the picture is actually for Maven on IntelliJ IDEA but my environment is actually Android Studio, but the message if my memory serves, is virtually the same.
I'm opening a project from github with over 100 stars so it's relatively low risk but still I want to be cautious. As someone who isn't super knowledgeable about the IJ IDE, can someone tell me what are the coding files and scripts that I should sift through to make sure there is no danger in compiling the project and beyond?
Thanks in advance!
I have been following this video and trying to figure out why my code is not compiling even though their code is compiling.
Recipes Simple Android Video
At the time of 3:40 he makes his xml layout. I did the same but it does not let me put the type of id he put on there which is important for the later code.
This is where I am having the problem.
30 minutes into the video I run into another problem. I used the exact code but it also did not compile.
at 31:41 you can see all of the code is compiling. On mine it is not. I am trying to figure out why that is.
This is the specific video of what I am trying to accomplish. I am trying to make a cookbook where I can have a ListView of recipe options and when I click on the option it goes into a different activity and displays the recipe instructions.
I am new to Android Studios so some things that might be obvious I have not learned yet. I would appreciate any suggestions.
I'm trying to put Admob for android app in studio and then publish it on google play.
I have read that soon, google requires a very specific way of displaying banner.
I wonder if this form is correct and incidentally try to fix the bug that gives me.
The mobile works perfect, but not that get the error on android studio.
I put a picture to make it easier to find the error.
Hope you can help me, Thanks.
enter link description here
The error you are getting is from an old version of Admob (6.4.1), and is only an error when trying to render the AdView within your editor, it is not a runtime error.
Try using the new Admob SDK (the one from Google Play Services). It is much more likely to have this (editor only) bug fixed.
Well I'm trying to setup libgdx. I used the setup-ui and installed everything on eclipse, but I get this error when I try to run my desktop project : http://pastie.org/8399448
I'm running ubuntu, and I think this might have something to do with why my android emulator won't work in eclipse, but I don't really need it because i'm not planning to make it into an android app. Thanks for taking time to read this/help me. I really appreciate it.
I think you're missing some basic OpenGL setup on your system. Its not Libgdx-specific. For example does glxgears run?
See OpenGL GLX extension not supported.
The answer is probably going to be very to Ubuntu and the video card your machine is using. You might have more luck at askubuntu.com.
I'm trying to write some apps using wikitude, and I'm having some problems running even the example.
I've put the sample ( BasicOpenARDemo ) that comes with the SDK inside eclipse and tried to run it, where I encountered the next error: "wikitude was not found on the system. Please press the ok-button to access the Android market and download wikitude."
First question- I don't understand- Why am I approached to download the utility when I have a standalone sample inside my eclipse? Doesn't the core files behind Wikitude come with the SDK or the sample itself?
The next question will be - after some googling, I've found that in order to install this "Android market" I need to follow the manual that comes in the 9th message in the next thread (the message that was written by ronni.rasmussen) -
http://forum.xda-developers.com/archive/index.php/t-529170.html
Well, I've followed it, and now when I try to press the OK button that comes after the "wikitude was not found on the system..." message, I get redirected to the Android market, where I find Wikitude, but when I try to download it- I get a "Download was unsuccessful. Please try again" error message. How do I fix that?
One more thing that I don't understand- How come it's written in this offline Android market that the available wikitude version is for android 1.5 and no longer maintained?
As you can see- I'm quite baffled here. Hope someone could clear this up for me.
I was with the exact same problem. The problem was that installing Wikitude from the market (following the link you provided) does not guarantee to have the system requirements supported in the virtual device, therefore it gives an error when you run the BasicOpenARDemo, if it let you install it at all.
The solution was creating an AVD with an GoogleAPI (it includes maps support, I used the level 10 API for Android 2.3.3, it didn't work for the level 8 API), adding the camera, accelerometer, compass, GPS, etc., support to the virtual device (I did this via Eclipse). Then I downloaded the .apk for Wikitude and installed it via command line (.adb).