内置的APK结果显示在白色屏幕和标题中

时间:2018-12-05 12:27:38

标签: android android-studio unity3d build apk

最后在Unity中完成了一个项目,并一直在尝试构建它。这并不容易。

首先,请在计算机上构建APK,然后将其发送以手动安装“作品”,以确保单词的一定值。尝试立即运行它会导致this kind of screen

因此,我做了唯一合理的事情,并尝试通过Android Studio对其进行USB调试。没被逗乐:

    12/04 17:52:33: Launching Toothy
No apk changes detected since last installation, skipping installation of C:\Users\user\ApkProjects\Toothy\Toothy.apk
$ adb shell am force-stop com.company.toothygame
$ adb shell am start -n "com.company.toothygame/com.unity3d.player.UnityPlayerProxyActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D
Waiting for application to come online: com.company.toothygame
Connecting to com.company.toothygame
Now Launching Native Debug Session
Error while starting native debug session: com.intellij.execution.ExecutionException: Index: 0, Size: 0

有人见过这样的行为吗?我的google-fu令我失望,因为该问题不适合使用关键字。

编辑:根据要求,manifest.json:

{
  "dependencies": {
    "com.unity.ads": "2.0.8",
    "com.unity.analytics": "2.0.16",
    "com.unity.package-manager-ui": "1.9.11",
    "com.unity.purchasing": "2.0.3",
    "com.unity.textmeshpro": "1.2.4",
    "com.unity.modules.ai": "1.0.0",
    "com.unity.modules.animation": "1.0.0",
    "com.unity.modules.assetbundle": "1.0.0",
    "com.unity.modules.audio": "1.0.0",
    "com.unity.modules.cloth": "1.0.0",
    "com.unity.modules.director": "1.0.0",
    "com.unity.modules.imageconversion": "1.0.0",
    "com.unity.modules.imgui": "1.0.0",
    "com.unity.modules.jsonserialize": "1.0.0",
    "com.unity.modules.particlesystem": "1.0.0",
    "com.unity.modules.physics": "1.0.0",
    "com.unity.modules.physics2d": "1.0.0",
    "com.unity.modules.screencapture": "1.0.0",
    "com.unity.modules.terrain": "1.0.0",
    "com.unity.modules.terrainphysics": "1.0.0",
    "com.unity.modules.tilemap": "1.0.0",
    "com.unity.modules.ui": "1.0.0",
    "com.unity.modules.uielements": "1.0.0",
    "com.unity.modules.umbra": "1.0.0",
    "com.unity.modules.unityanalytics": "1.0.0",
    "com.unity.modules.unitywebrequest": "1.0.0",
    "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    "com.unity.modules.unitywebrequestaudio": "1.0.0",
    "com.unity.modules.unitywebrequesttexture": "1.0.0",
    "com.unity.modules.unitywebrequestwww": "1.0.0",
    "com.unity.modules.vehicles": "1.0.0",
    "com.unity.modules.video": "1.0.0",
    "com.unity.modules.vr": "1.0.0",
    "com.unity.modules.wind": "1.0.0",
    "com.unity.modules.xr": "1.0.0"
  }
}

0 个答案:

没有答案