Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17071

cocos2d-x 3.8.1 and SDKBOX v1.0.0.15 crash on android without plugin installed

$
0
0

@Rambazamba wrote:

Hi there,
last week I wanted to try the SDKBOX as I need some of the features and I think its an awesome idea anyway to have something like that saves so much work.

So I created a test project and wanted to install the iap plugin with the command line - it said there is an update available, so i chose to update. The update failed due to some error - I tried again and now this time it seemed to work. The test project also worked and I decided to stop working on that for now, and went back to develop my main project.

Yesterday I wanted to create an android build with my main project where no SDKBOX plugin is installed. It compiled as expected but when launching it crashes saying:

07-28 06:52:59.698: E/AndroidRuntime(605): java.lang.UnsatisfiedLinkError: Native method not found: com.sdkbox.plugin.SDKBox.nativeInit:(Ljava/lang/Object;Ljava/lang/ClassLoader;)V
07-28 06:52:59.698: E/AndroidRuntime(605): 	at com.sdkbox.plugin.SDKBox.nativeInit(Native Method)
07-28 06:52:59.698: E/AndroidRuntime(605): 	at com.sdkbox.plugin.SDKBox.init(SDKBox.java:71)
07-28 06:52:59.698: E/AndroidRuntime(605): 	at     org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:305)
07-28 06:52:59.698: E/AndroidRuntime(605): 	at org.cocos2dx.cpp.AppActivity.onCreate(AppActivity.java:35)
07-28 06:52:59.698: E/AndroidRuntime(605): 	at android.app.Activity.performCreate(Activity.java:5231)
07-28 06:52:59.698: E/AndroidRuntime(605): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
07-28 06:52:59.698: E/AndroidRuntime(605): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2201)
07-28 06:52:59.698: E/AndroidRuntime(605): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2286)
07-28 06:52:59.698: E/AndroidRuntime(605): 	at android.app.ActivityThread.access$800(ActivityThread.java:144)
07-28 06:52:59.698: E/AndroidRuntime(605): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1246)
07-28 06:52:59.698: E/AndroidRuntime(605): 	at android.os.Handler.dispatchMessage(Handler.java:102)
....

here is what I get when I type in sdkbox info in my project folder:

sdkbox info
  _______ ______  _     _ ______   _____  _     _
  |______ |     \ |____/  |_____] |     |  \___/ 
  ______| |_____/ |    \_ |_____] |_____| _/   \_
 Copyright (c) 2015 SDKBOX Inc. v1.0.0.15
 you have no packages installed.

Is there some way how I can fix this now? Downgrading SDKBOX did not work and the funny thing is when I want to install the IAD plugin in the main project I get an error too? Is there some way to fix this? weary

Best regards,
Rambazamba

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17071

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>