Merge pull request #4960 from samuele3hu/developNewUI

Fix:Resolve the android template projects’s errors
This commit is contained in:
James Chen 2014-01-07 00:56:58 -08:00
commit ed1665801d
7 changed files with 6 additions and 8 deletions

View File

@ -11,7 +11,7 @@
android:icon="@drawable/icon">
<activity android:name=".Cocos2dxActivity"
<activity android:name="org.cocos2dx.cpp.Cocos2dxActivity"
android:label="@string/app_name"
android:screenOrientation="landscape"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"

View File

@ -1,4 +1,4 @@
package org.cocos2dx.hellocpp;
package org.cocos2dx.cpp;
import android.app.NativeActivity;
import android.os.Bundle;

View File

@ -5,7 +5,6 @@
#include "ScriptingCore.h"
#include "jsb_cocos2dx_auto.hpp"
#include "jsb_cocos2dx_extension_auto.hpp"
#include "jsb_cocos2dx_spine_auto.hpp"
#include "cocos2d_specifics.hpp"
#include "extension/jsb_cocos2dx_extension_manual.h"
#include "chipmunk/js_bindings_chipmunk_registration.h"
@ -41,7 +40,6 @@ bool AppDelegate::applicationDidFinishLaunching()
sc->addRegisterCallback(register_all_cocos2dx_extension);
sc->addRegisterCallback(register_cocos2dx_js_extensions);
sc->addRegisterCallback(register_all_cocos2dx_extension_manual);
sc->addRegisterCallback(register_all_cocos2dx_spine);
sc->addRegisterCallback(jsb_register_chipmunk);
sc->addRegisterCallback(JSB_register_opengl);
sc->addRegisterCallback(jsb_register_system);

View File

@ -10,7 +10,7 @@
<application android:label="@string/app_name"
android:icon="@drawable/icon">
<activity android:name=".Cocos2dxActivity"
<activity android:name="org.cocos2dx.javascript.Cocos2dxActivity"
android:label="@string/app_name"
android:screenOrientation="landscape"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"

View File

@ -10,4 +10,4 @@
# Project target.
target=android-13
android.library.reference.1=../../../cocos/2d/platform/android/java
android.library.reference.1=../cocos2d/cocos/2d/platform/android/java

View File

@ -1,4 +1,4 @@
package org.cocos2dx.hellojavascript;
package org.cocos2dx.javascript;
import android.app.NativeActivity;
import android.os.Bundle;

View File

@ -1 +1 @@
83d4ef65b31281ef8759505d8f90b3172b99992b
0a2d046187d7848172fadf6ee4a7e80897e6a75c