SKMapViewHolder crashes on Nexus 5 - skmaps

After adding the libraries to the project and instantiating everything according to the getting started guide (http://developer.skobbler.com/getting-started/android#) and the demo (http://developer.skobbler.com/support#download) I am running into some strange problems.
After adding the SKMapViewHolder to an activity, the app crashes and logcat returns the following:
06-05 14:22:48.388 1976-2013/com.x.app E/Adreno-ES11﹕ <qglDrvAPI_glDeleteTextures:371>: GL_INVALID_VALUE
06-05 14:22:48.388 1976-2013/com.x.app A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000004 (code=1), thread 2013 (Thread-885)
This is happening on a USB Nexus 5 and N5 emulator. On running it with an N7 (2012) emulator it's just returning the second libc error.

Related

Hybris server startup issue on M1 Mac

Getting intermittent issue for server startup of hybris(1905 version).
--> Wrapper Started as Console
wrapper-macosx-universal-64(12108,0x2001ce600) malloc: Heap corruption detected, free list is damaged at 0x600002104910
*** Incorrect guard value: 105553116300640
wrapper-macosx-universal-64(12108,0x2001ce600) malloc: *** set a breakpoint in malloc_error_break to debug
after getting issue as workaround ,doing ant clean all and some time it work some time it's not working any solution.

Android studio Emulator: Pixel 4 API 31 - Another emulator instance is running. Please close it. When No emulator running

I'm just trying to setup Android studio and my emulator. However I can only ever run it once on pc start up after that if I shut down the emulator and try and launch it again I will get and error and the logs are saying there is another emulator running.
2022-07-04 14:18:50,723 [ 22398] WARN - Emulator: Pixel 4 API 31 - Another emualtor is still running, wait for a sec...
2022-07-04 14:18:51,737 [ 23412] ERROR - Emulator: Pixel 4 API 31 - Another emulator instance is running. Please close it or run all emulators with -read-only flag.
2022-07-04 14:18:51,738 [ 23413] ERROR - Emulator: Pixel 4 API 31 - Android Studio Chipmunk | 2021.2.1 Patch 1 Build #AI-212.5712.43.2112.8609683
2022-07-04 14:18:51,738 [ 23413] ERROR - Emulator: Pixel 4 API 31 - JDK: 11.0.12; VM: OpenJDK 64-Bit Server VM; Vendor: Oracle Corporation
2022-07-04 14:18:51,738 [ 23413] ERROR - Emulator: Pixel 4 API 31 - OS: Windows 10
2022-07-04 14:18:51,738 [ 23413] INFO - Emulator: Pixel 4 API 31 -
2022-07-04 14:18:51,748 [ 23423] INFO - Emulator: Pixel 4 API 31 - Android emulator version 31.2.10.0 (build_id 8420304) (CL:N/A)
2022-07-04 14:18:51,850 [ 23525] INFO - Emulator: Pixel 4 API 31 - Process finished with exit code 1
2022-07-04 14:18:51,850 [ 23525] ERROR - Emulator: Pixel 4 API 31 - Emulator terminated with exit code 1
java.lang.Throwable: Emulator terminated with exit code 1
However there are no lock files in the area it directs me to besides multiinstance.lock. which I can't delete because it's always in use.
There is no stop option in device manager to stop the device.
Kill-server doesn't make a difference.
Graphics is set to Automatic and can't be changed.
The only thing that fixes it is if I delete the emulator and rebuild it or restart my machine and deleting the emulator gives an error although it does remove it I assume this is because it can't delete multiinstance.lock. file.
if anyone can help I would appreciate it.
This is all on windows 11
Edit so I have found the issue, when I shutdown the emulator the process Qemu-system-x86_64.exe under Android studio does not shutdown. I don't know what this does or is but once I end the task I can once again launch the emulator. This is really annoying and I don't know what is causing it.

My app crashes at startup due to missing libpq_cust.so lib

our app works fine on most of the android 7 devices. However on one brand Geotel A1 device, the app crashes at startup throwing the following error:
08-25 15:18:47.728 7443 7509 E linker : library "libpq_cust.so" ("/system/vendor/lib/libpq_cust.so") needed or dlopened by "/system/vendor/lib/libpq_prot.so" is not accessible for the namespace: [name="classloader-namespace", ld_library_paths="", default_library_paths="/data/app/com.xyz.pay-1/lib/arm:/system/fake-libs:/data/app/com.xyz.pay-1/base.apk!/lib/armeabi", permitted_paths="/data:/mnt/expand:/data/data/com.xyz.pay"]
08-25 15:18:49.978 957 1008 E InputDispatcher: channel '69f4912 com.xyz.pay/com.xyz.cac.start.authorizationActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
I have included the other libs such as libandroid_runtime.so, libcutils.so, libcrypto.so, and libssl.so in to the apk.
However, I dont know from where I can get this file libpq_cust.so. Can some one pls help me in solving this issue?

Chrome remote desktop AND android emulator

I remote(chrome remote) to my desktop which runs android studio. When I try to run the emulator from android studio, i see the window with the virtual device open. But the device doesn't power on. This is not the behavior when I use the desktop directly to run the android project. Could this behavior be because of the remoting? If so how do i change it?
My need is to work on android studio on a remote connection, if there is a way to achieve it, kindly advise.
This is the AVD log
C:\Users\xxx\AppData\Local\Android\sdk\tools\emulator.exe -avd Nexus_5_API_21 -netspeed full -netdelay none
emulator: device fd:1228
HAX is working and emulator runs in fast virt mode
creating window 61 83 462 820
logcat
04-29 12:06:39.077 1966-1966/com.example.xxx.four4 E/libprocessgroup﹕ failed to make and chown /acct/uid_10053: Read-only file system
04-29 12:06:39.077 1966-1966/com.example.xxx.four4 W/Zygote﹕ createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
04-29 12:06:39.078 1966-1966/com.example.xxx.four4 I/art﹕ Not late-enabling -Xcheck:jni (already on)
04-29 12:06:39.183 1966-1986/com.example.xxx.four4 D/OpenGLRenderer﹕ Render dirty regions requested: true
04-29 12:06:39.186 1966-1966/com.example.xxx.four4 D/﹕ HostConnection::get() New Host Connection established 0xa607f4c0, tid 1966
04-29 12:06:39.319 1966-1966/com.example.xxx.four4 D/Atlas﹕ Validating map...
04-29 12:06:40.050 1966-1966/com.example.xxx.four4 I/Choreographer﹕ Skipped 42 frames! The application may be doing too much work on its main thread.
04-29 12:06:40.184 1966-1986/com.example.xxx.four4 D/﹕ HostConnection::get() New Host Connection established 0xa607fa60, tid 1986
04-29 12:06:40.231 1966-1986/com.example.xxx.four4 I/OpenGLRenderer﹕ Initialized EGL, version 1.4
04-29 12:06:40.469 1966-1986/com.example.xxx.four4 D/OpenGLRenderer﹕ Enabling debug mode 0
04-29 12:06:40.521 1966-1986/com.example.xxx.four4 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
04-29 12:06:40.521 1966-1986/com.example.xxx.four4 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa6083580, error=EGL_SUCCESS
04-29 12:07:12.637 1966-1973/com.example.xxx.four4 W/art﹕ Suspending all threads took: 13.570ms
Thanks.
I have the same issue using a remote desktop. I solved it using another remote access application TeamViewer (http://teamviewer.com)
Using TeamViewer you can run any Android Emulator like x86, x86_64 or arm.
The Android emulator is not using all of your cpu capabilities but rather a single thread and my guess is that the remote desktop and the emulator are sharing the same thread thus preventing from your emulator to run while using the remote desktop. the solution is to use a stronger cpu or a different remote desktop as user2839592 said.

Cannot uplaod Monotouch project to device anymore - Null reference in installer

I have recently downloaded and installed Xcode 3 (!) together with SDK 4.3 (was on 4.2 before). Now i cannot deploy my app to iPad 2 (4.3.1) anymore. I get this error:
Please ensure your device is connected...
Connected to: René’s iPad
Initializing file service...
Uploading application
Finalizing file service...
Connected to: René’s iPad
Installing application
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
at MonoTouch.Installation.Installer.InstallApplication (object,System.EventArgs) <0x001b6>
at MonoTouch.Installation.Device.NotificationCallback (MonoTouch.Installation.Device/am_device_notification_callback_info&) <0x0006e>
at (wrapper native-to-managed) MonoTouch.Installation.Device.NotificationCallback (MonoTouch.Installation.Device/am_device_notification_callback_info&) <0x0003d>
at (wrapper managed-to-native) MonoTouch.CoreFoundation.CFRunLoop.CFRunLoopRun () <0x00003>
at MonoTouch.CoreFoundation.CFRunLoop.Run () <0x0000d>
at MonoTouch.Installation.Installer.InstallApplication (string) <0x00151>
at MTouch.Main (string[]) <0x032d1>
The application was terminated by a signal: SIGHUP
Your application name or path have a space in it. Remove the space and it should work.

Resources