I'm trying to deploy my libgdx game to Android, but I keep getting this error on my logcat "Could not find class 'com.badlogic.gdx.backends.android.Android GL10', referenced from method com.badlogic.gdx.backends.android.Android Graphics.setupGL". I'm not even using AndroidGL10 as far as I know. Anybody had that error before? How do I fix it?
It's working now. Since I'm currently using the 1.9.6 version, I had to update my gdx-backend-android.jar. I downloaded a compatible version: gdx-backend-android-1.9.6.jar. Thanks!!
Related
this isn't directly a question about android development, but about how to file a bug report if you found a bug within the android OS.
I have seen this documentation link: https://source.android.com/docs/setup/contribute/report-bugs
which finally leads to this bug-tracking system:
https://issuetracker.google.com/issues?q=status:open%20componentid:190923
I created a bug report there, however, after creating it I get an error message saying:
New issue created: 259508180 (view access not granted)
Am I missing something? Thanks in advance for the help!
I have a Xamarin for Android app that has been working until today. I needed to make a change but before I did, I ran a test to ensure no VS or Nuget package updates caused an issue. I have Xamarin.Essentials in my app and this line worked before, not sure what is happening now.
if(DeviceInfo.Model == "TC72"){scannerIndex = 1;}
Exception Unhandled:
Xamarin.Essentials.NotImplementedInReferenceAssemblyException: 'This
functionality is not implemented in the portable version of this
assembly. You should reference the NuGet package from your main
application project in order to reference the platform-specific
implementation.'
Any insight would be helpful. TIA
I changed the DeviceInfo.Model to Build.Model and get the same info I was expecting. That fixed my issue. If anyone has a different suggestion, happy to entertain them.
Added 8/11/21 3:25pm CT
I also found that changing my Compile Target to 10.0 fixed the Xamarin.Essentials issues. So far the application is working on 8.1 on the device (Zebra MC3300).
I updated my Phonegap (Cordova) project from 1.9 to 2.0 and am receiving the following two new errors:
Web Console
JSCallback Error: Request failed. at file file://android_assets/www/js/cordova-2.0.0.js:3698
and
dalvikvm
Could not find class 'android.webkit.WebResourceResponse', referenced from method org.apache.cordova.CordovaWebViewClient.generatedWebResourceResponse
Is this a known problem? I have searched but can't find a solution that addresses these issues. I have tried creating a new blank project and I am getting the same errors. I have also ensured Eclipse and the SDK manager are up to date.
Any help would be much appreciated.
Thank you.
Not sure about the first question as I need to know what you are doing when that log appears.
Regarding the second question:
https://stackoverflow.com/a/12043959/41679
I'm trying to run Echo example on Android's Emulator:
- The server is running well on my computer (windows 7)
- In OnCreate method of the AndroidWithNettyActivity(the class is created when I create Android project) I created new instance of AndroidEchoClient and invoke the run method.
When the Emulator start my activy (AndroidWithNettyActivity) it fails and show me dialog to force close.
Does anyone have experience about this problem?
In the log cat, there is error: [05-20 07:21:13.444: E/dalvikvm(325): Could not find class 'org.jboss.netty.bootstrap.ClientBootstrap', referenced from method Archer.Netty.Android.AndroidEchoClient.run]
It seems that the Emulator cannot find the ClientBootstrap class of netty's library (netty-3.4.5.Final.jar), but I don't know why because I already added netty's library in build path of my project.
Please help me, thank in advance :)
That's my stupid mistake, I'm just resolved this issue by exporting the netty's library with my adroid app
I'm unable to run even the default App Engine connected Android app, since updating my SDK. I've gone as far as deleting eclipse and all of my libraries and reinstalling them with no success. I've followed Google's tutorial to the letter and verified the validation tool is in my build path. This is the error I'm getting (and yes requestfactory-client.jar is in my library).
dalvikvm(375): Could not find method com.google.web.bindery.requestfactory.vm.RequestFactorySource.create, referenced from method com.Util.getRequestFactory
dalvikvm(375): VFY: unable to resolve static method 84: Lcom/google/web/bindery/requestfactory/vm/RequestFactorySource;.create (Ljava/lang/Class;)Lcom/google/web/bindery/requestfactory/shared/RequestFactory;
I'm completely lost at this point and about to pull some hair out, please help. Thanks
In my case it's an issue with the new ADT 17 and how it handles library projects. This post is a good explanation on how to fix it:
http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17
I, too, was going crazy on this. Hope this helps.
The validation step can be important too (like you did):
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation