Channel/Android/gtgame/AndroidManifest.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Channel/Android/qkbt2game/AndroidManifest.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Channel/Android/test/AndroidManifest.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Channel/Android/test/debug/libs/library-debug-test.aar | 补丁 | 查看 | 原始文档 | blame | 历史 | |
Channel/Android/test/release/libs/library-release-test.aar | 补丁 | 查看 | 原始文档 | blame | 历史 | |
SdkProject/channel/test/java/com/secondworld/sdk/TestApp.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
SdkProject/library/build.gradle | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
SdkProject/library/src/main/java/com/secondworld/sdk/GameActivity.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Channel/Android/gtgame/AndroidManifest.xml
New file @@ -0,0 +1,17 @@ <?xml version="1.0" encoding="utf-8"?> <!-- GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN--> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.unity3d.player" xmlns:tools="http://schemas.android.com/tools"> <application> <activity android:name="com.secondworld.sdk.GameActivity" android:theme="@style/UnityThemeSelector"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <meta-data android:name="unityplayer.UnityActivity" android:value="true" /> </activity> </application> </manifest> Channel/Android/qkbt2game/AndroidManifest.xml
New file @@ -0,0 +1,20 @@ <?xml version="1.0" encoding="utf-8"?> <!-- GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN--> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.unity3d.player" xmlns:tools="http://schemas.android.com/tools"> <application> <activity android:name="com.secondworld.sdk.SplashActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name="com.secondworld.sdk.GameActivity" android:theme="@style/UnityThemeSelector"> <meta-data android:name="unityplayer.UnityActivity" android:value="true" /> </activity> </application> </manifest> Channel/Android/test/AndroidManifest.xml
New file @@ -0,0 +1,17 @@ <?xml version="1.0" encoding="utf-8"?> <!-- GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN--> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.unity3d.player" xmlns:tools="http://schemas.android.com/tools"> <application> <activity android:name="com.secondworld.sdk.GameActivity" android:theme="@style/UnityThemeSelector"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <meta-data android:name="unityplayer.UnityActivity" android:value="true" /> </activity> </application> </manifest> Channel/Android/test/debug/libs/library-debug-test.aarBinary files differ
Channel/Android/test/release/libs/library-release-test.aarBinary files differ
SdkProject/channel/test/java/com/secondworld/sdk/TestApp.java
@@ -1,9 +1,14 @@ package com.secondworld.sdk; public class TestApp extends GameApp { import android.app.Application; public class TestApp extends Application { @Override protected void initPlatformDiff(){ PlatformDiff.I = new TestPlatform(); public void onCreate() { super.onCreate(); GameAppProxy.create(this,new TestPlatform()); GameActivity.registerProxy(GameActivityProxy.class); } } SdkProject/library/build.gradle
@@ -138,7 +138,8 @@ } task deleteSdk() { delete "${outPutPath}\\${CHANNEL_NAME}" delete "${outPutPath}\\${CHANNEL_NAME}\\debug" delete "${outPutPath}\\${CHANNEL_NAME}\\release" } //执行打包任务以及拷贝到外部 @@ -171,6 +172,8 @@ def dir = new File("${outPutPath}\\${CHANNEL_NAME}") def libraries = new File("${outPutPath}\\${CHANNEL_NAME}\\deps.gradle") dir.mkdir() if (libraries.exists()) libraries.delete() if (!libraries.exists()) libraries.createNewFile() libraries.text = content SdkProject/library/src/main/java/com/secondworld/sdk/GameActivity.java
@@ -4,7 +4,6 @@ import android.os.Bundle; import android.support.annotation.NonNull; import android.view.KeyEvent; import android.webkit.WebView; import android.widget.FrameLayout; import android.widget.RelativeLayout;