mirror of https://github.com/axmolengine/axmol.git
load .so at AppActivity.java
This commit is contained in:
parent
1b33d88416
commit
a40c81e984
|
@ -29,6 +29,10 @@ import android.os.Bundle;
|
|||
import org.cocos2dx.lib.Cocos2dxActivity;
|
||||
|
||||
public class AppActivity extends Cocos2dxActivity {
|
||||
static {
|
||||
System.loadLibrary("mpg123");
|
||||
System.loadLibrary("openal");
|
||||
}
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.setEnableVirtualButton(false);
|
||||
|
|
|
@ -29,6 +29,10 @@ import android.os.Bundle;
|
|||
import org.cocos2dx.lib.Cocos2dxActivity;
|
||||
|
||||
public class AppActivity extends Cocos2dxActivity {
|
||||
static {
|
||||
System.loadLibrary("mpg123");
|
||||
System.loadLibrary("openal");
|
||||
}
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.setEnableVirtualButton(false);
|
||||
|
|
|
@ -30,6 +30,10 @@ import android.os.Bundle;
|
|||
import org.cocos2dx.lib.Cocos2dxActivity;
|
||||
|
||||
public class AppActivity extends Cocos2dxActivity {
|
||||
static {
|
||||
System.loadLibrary("mpg123");
|
||||
System.loadLibrary("openal");
|
||||
}
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.setEnableVirtualButton(false);
|
||||
|
|
|
@ -30,7 +30,10 @@ import org.cocos2dx.lib.Cocos2dxActivity;
|
|||
import org.cocos2dx.lib.Cocos2dxGLSurfaceView;
|
||||
|
||||
public class AppActivity extends Cocos2dxActivity{
|
||||
|
||||
static {
|
||||
System.loadLibrary("mpg123");
|
||||
System.loadLibrary("openal");
|
||||
}
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.setEnableVirtualButton(false);
|
||||
|
|
Loading…
Reference in New Issue