I downloaded an app but it requires android 5.0+ ,so i changed the min sdk version to the lowest ,then i successfully installed but after running it an error came, Dlopen failed: cannot locate the symbol "atof" referenced by "libpng16.so..
My phone- Galaxy Grand 2(SM-G7102).
Android version-KitKat(4.4.2).
Please Let me know if there is any solution.
I've also got a problem it installs but it can locate atof symbol on my huawei media tab 4.4.4 kit kat
If an app is compiled to be run on an Android 5.+ device then app will crash when you run it on an Android 4.x device - this because Android 4.x doesn't have any of Android 5 APIs.
Related
Hi
I have a full version of windev mobile 15, the problem that i can not compile the project, I tried to compile a sample project, or a new project: the error is the same:
Message d'erreur système :
Le fichier spécifié est introuvable.
which means :
System error message:
The specified file was not found.
But the SDK is update, properly installed, I have JDK and everything is set, the error is certain: its because of windev mobile 15
Windev mobile15 runs only with SDK tool r06 (the current version is r18) , i downloaded the r06 but google has changed the links so the SDK tool can't download any SDK ...
does anybody have the SDK tool r06 with android sdk 2.2 or higher ? , it would be great !
thanks in advance !
really? no one?
Hey guys,
This is my first time developing apps for a device, please don't be too callous.
Prior to the release of Android Studio I was having a crack at eclipse with the android SDK and attempting to utilise the AVD simulator rather than the actual Galaxy Nexus I have right beside me. My issue was in fact the same as to when I converted to Android Studio, a rather consistent error:
Code:
Waiting for device.
C:\Android\android-studio\sdk\tools\emulator.exe -avd GalaxyNexus -netspeed full -netdelay none
Device connected: emulator-5554
Device is online: emulator-5554
Target device: emulator-5554 (GalaxyNexus)
Uploading file
local path: C:\Ryan\Android\MyFirstApp\build\apk\MyFirstApp-debug-unaligned.apk
remote path: /data/local/tmp/com.example.myfirstapp
Adb Transfer Protocol Error.
No such file or directory
The AVD Simulator boots up, Android Labels displays then fails after a matter of seconds. i understand the issue is obviously not related to the IDE hence why both eclipse and Android Studio are doing the same thing.
I Created an AVD with the following Properties:
Code:
Name: GalaxyNexus
Device: Galaxy Nexus (4.65"...etc
Target: Android 4.2.2 - API Level 17
CPU/ABI: greyed out as "ARM..."etc
Keyboard enabled
Skin enabled
Front Camera None
Rear Camera None
Memory options
- Ram: 512
- VM Heap: 64
- Internal Storage: 8 GiB
- SD 128MiB
Emulation options both left unchecked
Greyed out button for "Override the extisting AVD with the same name"
The basic default hello world app actually runs fine on my galaxy nexus on 4.2.2.
Not sure of my issue, I would assume configuration, though couldn't be sure.
Thanks ahead.
ryanspacef said:
Not sure of my issue, I would assume configuration, though couldn't be sure.
Thanks ahead.
Click to expand...
Click to collapse
Go to SDK Manager and hit the Install button. Mine still had 5 missing packages, including the ARM ABI, which would also explain why the AVD didn't boot. Hope this helps.
ryanspacef said:
Hey guys,
This is my first time developing apps for a device, please don't be too callous.
Prior to the release of Android Studio I was having a crack at eclipse with the android SDK and attempting to utilise the AVD simulator rather than the actual Galaxy Nexus I have right beside me. My issue was in fact the same as to when I converted to Android Studio, a rather consistent error:
Code:
Waiting for device.
C:\Android\android-studio\sdk\tools\emulator.exe -avd GalaxyNexus -netspeed full -netdelay none
Device connected: emulator-5554
Device is online: emulator-5554
Target device: emulator-5554 (GalaxyNexus)
Uploading file
local path: C:\Ryan\Android\MyFirstApp\build\apk\MyFirstApp-debug-unaligned.apk
remote path: /data/local/tmp/com.example.myfirstapp
Adb Transfer Protocol Error.
No such file or directory
The AVD Simulator boots up, Android Labels displays then fails after a matter of seconds. i understand the issue is obviously not related to the IDE hence why both eclipse and Android Studio are doing the same thing.
I Created an AVD with the following Properties:
Code:
Name: GalaxyNexus
Device: Galaxy Nexus (4.65"...etc
Target: Android 4.2.2 - API Level 17
CPU/ABI: greyed out as "ARM..."etc
Keyboard enabled
Skin enabled
Front Camera None
Rear Camera None
Memory options
- Ram: 512
- VM Heap: 64
- Internal Storage: 8 GiB
- SD 128MiB
Emulation options both left unchecked
Greyed out button for "Override the extisting AVD with the same name"
The basic default hello world app actually runs fine on my galaxy nexus on 4.2.2.
Not sure of my issue, I would assume configuration, though couldn't be sure.
Thanks ahead.
Click to expand...
Click to collapse
Have you tried to push your apps apk manually using the adb push command? If that does not work its probably a driver issue. Also you may try changing the sdcard size to >200mb or removing it altogether and only using internal. I would also use a much smaller internal size unless your app needs it. My AVD has an internal of 256mb and no sdcard and runs fine. The AVDs are very picky and have strange issues sometimes.
I am testing an app which is dealing with device sensors ( accel, magnet.. and if available gyro and linearAccel)
I developed it using ADT and in my manifest , I indicating min-sdk as jellyBean 4.1.2 ( API 16) and target kitkat 4.4. (API 19)
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="19" />
I can run easily the generated .apk on my Wiko 5 ( JellyBean 4.1.2) and on my Nexus5 ( kitkat 4.4.2 )
but I sent the .apk to a tester friend trying to run it on a Sony Xperia Z1 and it crashes ! ( after being installed , right on starting t)
is there anything specific to Sony ?
I tried to debug it locally after receiving the Sony device, it's seems to be related to thread management, however this project runs on other Android devices like Nexus wo any problem....
console logcat can be found at : gist.github.com/erwin/10535096 ( https access)
My aims:
- Use Android Studio to develop a basic Android application - should be possible
- Use Android Studio to back up my physical phone (Hisense phone running Nougat 7.0) and create an emulated version of it running on my PC - should be possible, is it?
My PC:
- Windows XP 32-bit
- Pentium Dual Core T2330 processor NOT supporting Intel® Virtualization Technology (VT-x)
- 2 GB RAM
Questions:
- Are the above aims possible to achieve with my PC?
- If yes, what are the recommended Android Studio and Java SE Development Kit versions/settings to use that work for sure?
Story: I have tried to use Android Studio 3.0.1 with various versions of Java SE Development Kit 8 (including 121, 144, and 152) and various settings/hacks constantly running into various bugs/issues, most of which were seemingly resolved by new settings/hacks, yet I ended up with the same error messages after I have tried everything I have found online that nice people suggested on forums.
I am unable to even compile and run a default Android app, I get these error messages:
Gradle build finished with 2 error(s) in 21s 591ms
Error:java.util.concurrent.ExecutionException: java.lang.RuntimeException: No server to serve request. Check logs for details.
Error:Execution failed for task ':app:mergeDebugResources'.
> Error: java.util.concurrent.ExecutionException: java.lang.RuntimeException: No server to serve request. Check logs for details.
I am unable to run a default-loaded Android Virtual Device, I get this error message:
Emulator: Process finished with exit code -1073741511 (0xC0000139)
I am clueless how to continue. If my aims are possible to achieve, could someone tell me the Android Studio and JDK versions and settings that work 100% under 32-bit Win XP?
Thanks in advance!
Android Studio - "Could not initialize class com.android.repository.api.RepoManager"
Hi,
I ran my Android Studio v 3.4.2 after long period of not using it and faced the following error right upon each attempt to load a project -
Could not initialize class com.android.repository.api.RepoManager
Click to expand...
Click to collapse
JRE 1.8.0_152-release-1343-b01 amd64
JVM: OpenJDK 64-Bit
How can I have it fixed?
bro I also facing the same issue kindly help if you got the solution