[ZenFone 2 Original Android Development] eliaspizarro:
Hi there,

I need help with SoundHound App, cant get working.

It looks like it doesn't picking up the right sdc++ lib.

Also sems some conflicts with spotify?

can be "-DANDROID_STL=gnustl_shared" cmake params??

Here's the log

10-20 13:57:52.331 D/AndroidRuntime(27107): >>>>>> START com.android.internal.os.RuntimeInit uid 10131 <<<<<<
10-20 13:57:52.336 D/AndroidRuntime(27107): CheckJNI is OFF
10-20 13:57:52.518 D/AndroidRuntime(27107): Calling main entry com.android.commands.pm.Pm
10-20 13:57:52.647 I/AndroidRuntime(27107): VM exiting with result code 0.
10-20 13:59:07.816 E/AndroidRuntime(28013): FATAL EXCEPTION: Retrofit-Idle
10-20 13:59:07.816 E/AndroidRuntime(28013): Process: com.melodis.midomiMusicIdentifier, PID: 28013
10-20 13:59:07.816 E/AndroidRuntime(28013): java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/com.google.android.maps.jar", zip file "/data/app/com.melodis.midomiMusicIdentifier-1/base.apk"],nativeLibraryDirectories=[/data/app/com.melodis.midomiMusicIdentifier-1/lib/x86, /vendor/lib, /system/lib]]] couldn't find "libgnustl_shared.so"
10-20 13:59:07.816 E/AndroidRuntime(28013): at java.lang.Runtime.loadLibrary(Runtime.java:366)
10-20 13:59:07.816 E/AndroidRuntime(28013): at java.lang.System.loadLibrary(System.java:988)
10-20 13:59:07.816 E/AndroidRuntime(28013): at com.spotify.sdk.android.playback.NativeSdkPlayer.nativeInit(NativeSdkPlayer.java:44)
10-20 13:59:07.816 E/AndroidRuntime(28013): at com.spotify.sdk.android.playback.NativeSdkPlayer.<clinit>(NativeSdkPlayer.java:34)
10-20 13:59:07.816 E/AndroidRuntime(28013): at com.spotify.sdk.android.playback.Player.<init>(Player.java:310)
10-20 13:59:07.816 E/AndroidRuntime(28013): at com.spotify.sdk.android.playback.Player.create(Player.java:356)
10-20 13:59:07.816 E/AndroidRuntime(28013): at com.spotify.sdk.android.playback.Player.access$000(Player.java:86)
10-20 13:59:07.816 E/AndroidRuntime(28013): at com.spotify.sdk.android.playback.Player$Builder.build(Player.java:282)
10-20 13:59:07.816 E/AndroidRuntime(28013): at com.spotify.sdk.android.Spotify.getPlayer(Spotify.java:114)
10-20 13:59:07.816 E/AndroidRuntime(28013): at com.soundhound.android.appcommon.playercore.mediaprovider.spotify.SpotifyMediaProvider.initiatePlayer(SpotifyMediaProvider.java:391)
10-20 13:59:07.816 E/AndroidRuntime(28013): at com.soundhound.android.appcommon.playercore.mediaprovider.spotify.SpotifyMediaProvider$1.onResult(SpotifyMediaProvider.java:348)
10-20 13:59:07.816 E/AndroidRuntime(28013): at com.soundhound.android.appcommon.playercore.mediaprovider.spotify.SpotifyMediaProvider$4.success(SpotifyMediaProvider.java:613)
10-20 13:59:07.816 E/AndroidRuntime(28013): at com.soundhound.android.appcommon.playercore.mediaprovider.spotify.SpotifyMediaProvider$4.success(SpotifyMediaProvider.java:597)
10-20 13:59:07.816 E/AndroidRuntime(28013): at retrofit.CallbackRunnable$1.run(CallbackRunnable.java:45)
10-20 13:59:07.816 E/AndroidRuntime(28013): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
10-20 13:59:07.816 E/AndroidRuntime(28013): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
10-20 13:59:07.816 E/AndroidRuntime(28013): at java.lang.Thread.run(Thread.java:818)
10-20 13:59:25.935 E/AndroidRuntime(28318): FATAL EXCEPTION: Retrofit-Idle
10-20 13:59:25.935 E/AndroidRuntime(28318): Process: com.melodis.midomiMusicIdentifier, PID: 28318
10-20 13:59:25.935 E/AndroidRuntime(28318): java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/com.google.android.maps.jar", zip file "/data/app/com.melodis.midomiMusicIdentifier-1/base.apk"],nativeLibraryDirectories=[/data/app/com.melodis.midomiMusicIdentifier-1/lib/x86, /vendor/lib, /system/lib]]] couldn't find "libgnustl_shared.so"
10-20 13:59:25.935 E/AndroidRuntime(28318): at java.lang.Runtime.loadLibrary(Runtime.java:366)
10-20 13:59:25.935 E/AndroidRuntime(28318): at java.lang.System.loadLibrary(System.java:988)
10-20 13:59:25.935 E/AndroidRuntime(28318): at com.spotify.sdk.android.playback.NativeSdkPlayer.nativeInit(NativeSdkPlayer.java:44)
10-20 13:59:25.935 E/AndroidRuntime(28318): at com.spotify.sdk.android.playback.NativeSdkPlayer.<clinit>(NativeSdkPlayer.java:34)
10-20 13:59:25.935 E/AndroidRuntime(28318): at com.spotify.sdk.android.playback.Player.<init>(Player.java:310)
10-20 13:59:25.935 E/AndroidRuntime(28318): at com.spotify.sdk.android.playback.Player.create(Player.java:356)
10-20 13:59:25.935 E/AndroidRuntime(28318): at com.spotify.sdk.android.playback.Player.access$000(Player.java:86)
10-20 13:59:25.935 E/AndroidRuntime(28318): at com.spotify.sdk.android.playback.Player$Builder.build(Player.java:282)
10-20 13:59:25.935 E/AndroidRuntime(28318): at com.spotify.sdk.android.Spotify.getPlayer(Spotify.java:114)
10-20 13:59:25.935 E/AndroidRuntime(28318): at com.soundhound.android.appcommon.playercore.mediaprovider.spotify.SpotifyMediaProvider.initiatePlayer(SpotifyMediaProvider.java:391)
10-20 13:59:25.935 E/AndroidRuntime(28318): at com.soundhound.android.appcommon.playercore.mediaprovider.spotify.SpotifyMediaProvider$1.onResult(SpotifyMediaProvider.java:348)
10-20 13:59:25.935 E/AndroidRuntime(28318): at com.soundhound.android.appcommon.playercore.mediaprovider.spotify.SpotifyMediaProvider$4.success(SpotifyMediaProvider.java:613)
10-20 13:59:25.935 E/AndroidRuntime(28318): at com.soundhound.android.appcommon.playercore.mediaprovider.spotify.SpotifyMediaProvider$4.success(SpotifyMediaProvider.java:597)
10-20 13:59:25.935 E/AndroidRuntime(28318): at retrofit.CallbackRunnable$1.run(CallbackRunnable.java:45)
10-20 13:59:25.935 E/AndroidRuntime(28318): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
10-20 13:59:25.935 E/AndroidRuntime(28318): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
10-20 13:59:25.935 E/AndroidRuntime(28318): at java.lang.Thread.run(Thread.java:818)
10-20 14:00:27.992 E/AndroidRuntime(28640): FATAL EXCEPTION: Retrofit-Idle
10-20 14:00:27.992 E/AndroidRuntime(28640): Process: com.melodis.midomiMusicIdentifier, PID: 28640
10-20 14:00:27.992 E/AndroidRuntime(28640): java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/com.google.android.maps.jar", zip file "/data/app/com.melodis.midomiMusicIdentifier-1/base.apk"],nativeLibraryDirectories=[/data/app/com.melodis.midomiMusicIdentifier-1/lib/x86, /vendor/lib, /system/lib]]] couldn't find "libgnustl_shared.so"
10-20 14:00:27.992 E/AndroidRuntime(28640): at java.lang.Runtime.loadLibrary(Runtime.java:366)
10-20 14:00:27.992 E/AndroidRuntime(28640): at java.lang.System.loadLibrary(System.java:988)
10-20 14:00:27.992 E/AndroidRuntime(28640): at com.spotify.sdk.android.playback.NativeSdkPlayer.nativeInit(NativeSdkPlayer.java:44)
10-20 14:00:27.992 E/AndroidRuntime(28640): at com.spotify.sdk.android.playback.NativeSdkPlayer.<clinit>(NativeSdkPlayer.java:34)
10-20 14:00:27.992 E/AndroidRuntime(28640): at com.spotify.sdk.android.playback.Player.<init>(Player.java:310)
10-20 14:00:27.992 E/AndroidRuntime(28640): at com.spotify.sdk.android.playback.Player.create(Player.java:356)
10-20 14:00:27.992 E/AndroidRuntime(28640): at com.spotify.sdk.android.playback.Player.access$000(Player.java:86)
10-20 14:00:27.992 E/AndroidRuntime(28640): at com.spotify.sdk.android.playback.Player$Builder.build(Player.java:282)
10-20 14:00:27.992 E/AndroidRuntime(28640): at com.spotify.sdk.android.Spotify.getPlayer(Spotify.java:114)
10-20 14:00:27.992 E/AndroidRuntime(28640): at com.soundhound.android.appcommon.playercore.mediaprovider.spotify.SpotifyMediaProvider.initiatePlayer(SpotifyMediaProvider.java:391)
10-20 14:00:27.992 E/AndroidRuntime(28640): at com.soundhound.android.appcommon.playercore.mediaprovider.spotify.SpotifyMediaProvider$1.onResult(SpotifyMediaProvider.java:348)
10-20 14:00:27.992 E/AndroidRuntime(28640): at com.soundhound.android.appcommon.playercore.mediaprovider.spotify.SpotifyMediaProvider$4.success(SpotifyMediaProvider.java:613)
10-20 14:00:27.992 E/AndroidRuntime(28640): at com.soundhound.android.appcommon.playercore.mediaprovider.spotify.SpotifyMediaProvider$4.success(SpotifyMediaProvider.java:597)
10-20 14:00:27.992 E/AndroidRuntime(28640): at retrofit.CallbackRunnable$1.run(CallbackRunnable.java:45)
10-20 14:00:27.992 E/AndroidRuntime(28640): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
10-20 14:00:27.992 E/AndroidRuntime(28640): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
10-20 14:00:27.992 E/AndroidRuntime(28640): at java.lang.Thread.run(Thread.java:818)
10-20 14:00:45.405 E/AndroidRuntime(28911): FATAL EXCEPTION: Retrofit-Idle
10-20 14:00:45.405 E/AndroidRuntime(28911): Process: com.melodis.midomiMusicIdentifier, PID: 28911
10-20 14:00:45.405 E/AndroidRuntime(28911): java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/com.google.android.maps.jar", zip file "/data/app/com.melodis.midomiMusicIdentifier-1/base.apk"],nativeLibraryDirectories=[/data/app/com.melodis.midomiMusicIdentifier-1/lib/x86, /vendor/lib, /system/lib]]] couldn't find "libgnustl_shared.so"
10-20 14:00:45.405 E/AndroidRuntime(28911): at java.lang.Runtime.loadLibrary(Runtime.java:366)
10-20 14:00:45.405 E/AndroidRuntime(28911): at java.lang.System.loadLibrary(System.java:988)
10-20 14:00:45.405 E/AndroidRuntime(28911): at com.spotify.sdk.android.playback.NativeSdkPlayer.nativeInit(NativeSdkPlayer.java:44)
10-20 14:00:45.405 E/AndroidRuntime(28911): at com.spotify.sdk.android.playback.NativeSdkPlayer.<clinit>(NativeSdkPlayer.java:34)
10-20 14:00:45.405 E/AndroidRuntime(28911): at com.spotify.sdk.android.playback.Player.<init>(Player.java:310)
10-20 14:00:45.405 E/AndroidRuntime(28911): at com.spotify.sdk.android.playback.Player.create(Player.java:356)
10-20 14:00:45.405 E/AndroidRuntime(28911): at com.spotify.sdk.android.playback.Player.access$000(Player.java:86)
10-20 14:00:45.405 E/AndroidRuntime(28911): at com.spotify.sdk.android.playback.Player$Builder.build(Player.java:282)
10-20 14:00:45.405 E/AndroidRuntime(28911): at com.spotify.sdk.android.Spotify.getPlayer(Spotify.java:114)
10-20 14:00:45.405 E/AndroidRuntime(28911): at com.soundhound.android.appcommon.playercore.mediaprovider.spotify.SpotifyMediaProvider.initiatePlayer(SpotifyMediaProvider.java:391)
10-20 14:00:45.405 E/AndroidRuntime(28911): at com.soundhound.android.appcommon.playercore.mediaprovider.spotify.SpotifyMediaProvider$1.onResult(SpotifyMediaProvider.java:348)
10-20 14:00:45.405 E/AndroidRuntime(28911): at com.soundhound.android.appcommon.playercore.mediaprovider.spotify.SpotifyMediaProvider$4.success(SpotifyMediaProvider.java:613)
10-20 14:00:45.405 E/AndroidRuntime(28911): at com.soundhound.android.appcommon.playercore.mediaprovider.spotify.SpotifyMediaProvider$4.success(SpotifyMediaProvider.java:597)
10-20 14:00:45.405 E/AndroidRuntime(28911): at retrofit.CallbackRunnable$1.run(CallbackRunnable.java:45)
10-20 14:00:45.405 E/AndroidRuntime(28911): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
10-20 14:00:45.405 E/AndroidRuntime(28911): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
10-20 14:00:45.405 E/AndroidRuntime(28911): at java.lang.Thread.run(Thread.java:818)

https://jira.cyanogenmod.org/browse/CYAN-6393

Regards,