java.lang.NoClassDefFoundError on specific devices - android-support-library

I am seeing the below error in Samsung S3 mini and Samsung Garda
Many results searched for shows that 4.2.2 devices will have this issues, but I tested with Samsung 4.2.2 tablet which works fine
The error I see is:
java.lang.NoClassDefFoundError: android.support.v7.internal.view.menu.MenuBuilder
at android.support.v7.widget.ActionMenuView.getMenu(ActionMenuView.java:620)
at android.support.v7.widget.Toolbar.ensureMenu(Toolbar.java:825)
at android.support.v7.widget.Toolbar.getMenu(Toolbar.java:817)

The same is here. We could not emulate it on our devices.
Some 4.2.2 devices do not have this bug, but most of them will have it. Our Console logs showed this error on 90% of Samsung 4.2.2 devices, even on some devices from the Chinese manufacturers.

Related

How do I fix xamarin.ios app crash on launch in iPhone 8 cellular data?

We have develop a xamarin.ios app thats work fine on all iPhone and iPad except iPhone 8. Its crashed on launch in iPhone 8 on cellular data. Its working good on wifi. I don’t have iPhone 8 device right now, so I am checking it on simulator. But simulator using wifi and its working good on simulator. How can I identify the problem and how to solve it?
FYI we are consuming a service on app launch that need an active internet. Any idea, Please reply.
This should really be a comment, but I don't have the reputation for one.
Without knowing what is happening when your app has launched, have you tried testing your app without a Wi-Fi or data connection?
The issue might be that your clients device is getting a different response from the service that you have not accounted for and this might be causing exceptions etc.
We are checking on IPv6 network but our API was not compatible to IPv6. When we change the network to IPv4, Its work perfectly. But as per apple guidelines we must have to compatible our API to IPv6 network.

XCode simulator: how to make Internet work for apps?

I am developing a NativeScript app (i.e. a native app compiled from web languages) and deploying it to XCode (7.2) emulator.
NativeScript uses the Xcode command line tools internally.
I am working under OS X 10.11 (El Captain) and I tried to deploy my app to iPhone 5 and iPhone6 emulators.
The issue I'm getting is that my app can't reach REST APIs (get/post/....).
I'm deploying my APIs using json-server.
On Linux with json-server + run to Android emulator it works perfectly so I'm pretty sure it doesn't depend on json-server or my app code.
I tried an old solution posted at: iPhone simulator cannot connect to internet
Specifically, I've reset simulator settings as well as enabling 'HTTP services' in settings. The issue is still there. Any clue?
Check this out. I might have something to do with Apple's Application Transport Security jargon.

Android ndk debug on sumsung phones

some days ago, I bought a phone Sumsung s4.then I find that I couldn't use ndk debug on the phone. I have surching lots of infomation , but not get a solution.
The question is Sumsung have changed some code for the system./data/system/packages.list is used by 'run-as' both to get the data directory for an app, and to start gdbserver on the device. Most samsung phones have this moved to /dbdata/system/packages.list, but 'run-as' wasn't rebuilt to reflect this change, and throws an error. So, the ndk-gdb script can't connect to these phones.
so please help me!!!!
The gdb (and invoking script) built into the Apportable SDK has a workaround for the ndk-gdb run-as issue on the Samsung S4 (and many Android 4.3 phones)
More details available at run-as Package 'a.b.c' is unknown - Galaxy S4 Jellybean or Android 4.3

'could not get wglGetExtensionsStringARB' for Android Emulator

Actually I have a problem with my Android application in eclipse. When I run my program, it gives me a message which is concluded of many errors.
So I copied and pasted them here to show you what is the exact problem with the emulator. Any ideas?
Starting emulator for AVD
Failed to create Context 0x3005
could not get wglGetExtensionsStringARB
emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
Try setting the RAM to 512 Mb. It worked for me.
It may be too late to answer this question,but I solved the problem (could not get wglGetExtensionsStringARB) by installing the latest version of my graphics (video) driver.
also from device properties, I have checked 'use host GPU' option. it is working now with the following settings:
Try updating your graphic card driver
Graphics acceleration for the emulator takes advantage of your development computer's graphics hardware, specifically its graphics processing unit (GPU), to make screen drawing faster. To use the graphics acceleration feature, you must have the following versions of the Android development tools installed:
Android SDK Tools, Revision 17 or higher
Android SDK Platform API 15, Revision 3 or higher
Please check this link http://developer.android.com/tools/devices/emulator.html#acceleration
This is slightly edge case but my emulator started fine when I was physically at the computer that ran it but when I remoted into that computer (via RDP) and attempted to start the emulator, it failed with these errors.
I believe this is a limitation with the emulator software over remote connections because I went to the physical location of the computer and started the emulator and it worked fine.

Device not supported in Android Market

I've just uploaded my app to the android market place and it works on my Samsung Mini, but when trying to download it to a Samsung Galaxy I get the error message device not supported.
The app is listed with
API level: 10-16+
Supported screens: small-xlarge
OpenGL textures: all
Required device features:
android.hardware.touchscreen
Any ideas why it doesn't support the Samsung Galaxy phone?
Have you mentioned minimum sdk version & also target sdk version in your manifest file ?
Also android Os version of both the devices are same?

Resources