Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Unity 2023.1.5] Execution failed for task ':flutter_unity_widget:compileDebugKotlin'. #847

Closed
nkrmr opened this issue Jul 20, 2023 · 6 comments
Labels
duplicate This issue or pull request already exists

Comments

@nkrmr
Copy link

nkrmr commented Jul 20, 2023

Describe the bug
Each time i tried to launch the app on Android I have this issue

Note: /Volumes/Workspace/www/pacprod_apps/android/unityLibrary/src/main/java/com/unity3d/player/UnityPlayerActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/CustomUnityPlayer.kt:13:1 Class 'CustomUnityPlayer' is not abstract and does not implement abstract base class member public abstract fun setMainSurfaceViewAspectRatio(p0: Float): Unit defined in com.unity3d.player.UnityPlayer
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/CustomUnityPlayer.kt:13:1 CustomUnityPlayer inherits invisible abstract members: public/package/ abstract fun handleFocus(p0: Boolean): Boolean defined in com.unity3d.player.UnityPlayer, public/package/ abstract fun getGfxView(): View! defined in com.unity3d.player.UnityPlayer, public/package/ abstract fun onOrientationChanged(p0: Int, p1: Int): Unit defined in com.unity3d.player.UnityPlayer, public/package/ abstract fun cleanupResourcesForDestroy(): Unit defined in com.unity3d.player.UnityPlayer
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/CustomUnityPlayer.kt:13:102 Type mismatch: inferred type is IUnityPlayerLifecycleEvents? but UnityPlayer.h! was expected
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/CustomUnityPlayer.kt:13:102 No value passed for parameter 'p2'
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/CustomUnityPlayer.kt:19:5 'onConfigurationChanged' overrides nothing
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/CustomUnityPlayer.kt:21:15 Unresolved reference: onConfigurationChanged
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/CustomUnityPlayer.kt:24:5 'onAttachedToWindow' overrides nothing
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/CustomUnityPlayer.kt:26:15 Unresolved reference: onAttachedToWindow
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/CustomUnityPlayer.kt:32:5 'onDetachedFromWindow' overrides nothing
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/CustomUnityPlayer.kt:36:15 Unresolved reference: onDetachedFromWindow
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/CustomUnityPlayer.kt:39:5 'dispatchTouchEvent' overrides nothing
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/CustomUnityPlayer.kt:41:22 Unresolved reference: dispatchTouchEvent
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/CustomUnityPlayer.kt:45:5 'onTouchEvent' overrides nothing
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/CustomUnityPlayer.kt:49:22 Unresolved reference: onTouchEvent
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/FlutterUnityWidgetController.kt:337:44 Unresolved reference: parent
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/FlutterUnityWidgetController.kt:338:45 Unresolved reference: parent
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/FlutterUnityWidgetController.kt:338:77 Type mismatch: inferred type is CustomUnityPlayer? but View! was expected
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/FlutterUnityWidgetController.kt:342:44 Unresolved reference: z
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/FlutterUnityWidgetController.kt:359:44 Unresolved reference: parent
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/OverrideUnityActivity.kt:45:23 Unresolved reference: lowMemory
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/UnityPlayerUtils.kt:38:64 Unresolved reference: requestFocus
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/UnityPlayerUtils.kt:56:31 Unresolved reference: bringToFront
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/UnityPlayerUtils.kt:57:31 Unresolved reference: requestLayout
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/UnityPlayerUtils.kt:58:31 Unresolved reference: invalidate
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/UnityPlayerUtils.kt:177:31 Unresolved reference: parent
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/UnityPlayerUtils.kt:179:65 Type mismatch: inferred type is CustomUnityPlayer? but View! was expected
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/UnityPlayerUtils.kt:196:19 None of the following functions can be called with the arguments supplied:
public open fun addView(p0: View!, p1: ViewGroup.LayoutParams!): Unit defined in android.view.ViewGroup
public open fun addView(p0: View!, p1: Int): Unit defined in android.view.ViewGroup
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/UnityPlayerUtils.kt:203:31 Unresolved reference: parent
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/UnityPlayerUtils.kt:204:32 Unresolved reference: parent
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/UnityPlayerUtils.kt:204:64 Type mismatch: inferred type is CustomUnityPlayer? but View! was expected
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/UnityPlayerUtils.kt:207:31 Unresolved reference: z
e: file:///Users/nkrmr/.pub-cache/hosted/pub.dev/flutter_unity_widget-2022.2.0/android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/UnityPlayerUtils.kt:210:39 Type mismatch: inferred type is CustomUnityPlayer? but View! was expected

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':flutter_unity_widget:compileDebugKotlin'.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
Compilation error. See log for more details

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 27s
Exception: Gradle task assembleDebug failed with exit code 1

To Reproduce
Steps to reproduce the behavior:

  1. On unity I made "Export Android (Release)"
  2. On my VSCode IDE I made "run without debugging'
  3. Into the debug console it start to build and I have this issue
  4. See error

Expected behavior
Build correctly to Android

**Unity **

  • Version: 2023.1.5f1
@timbotimbo timbotimbo added the duplicate This issue or pull request already exists label Jul 20, 2023
@timbotimbo
Copy link
Collaborator

Unity 2023 is currently broken on android.
See #839

@timbotimbo timbotimbo changed the title Execution failed for task ':flutter_unity_widget:compileDebugKotlin'. [Unity 2023.1.5] Execution failed for task ':flutter_unity_widget:compileDebugKotlin'. Jul 20, 2023
@nkrmr
Copy link
Author

nkrmr commented Jul 20, 2023

But when i tried to use Unity 2022.3.5f1 I have an issue with AndroidManifest.xml whereas he is generated into 2023

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':unityLibrary:packageDebugResources'.

Error while evaluating property 'namespace' of task ':unityLibrary:packageDebugResources'
Failed to calculate the value of task ':unityLibrary:packageDebugResources' property 'namespace'.
> Failed to query the value of property 'namespace'.
> Manifest file does not exist: /Volumes/Workspace/www/pacprod_apps/android/unityLibrary/src/main/AndroidManifest.xml

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 4s

@timbotimbo
Copy link
Collaborator

The missing manifest file might be caused by the Unitypackage XR Plugin Management.
Versions 4.3.1 - 4.3.3 contain a bug that delete that file.

Even if you don't use AR, the example used to include that package until very recently.

@vishalsudarsanan
Copy link

The missing manifest file might be caused by the Unitypackage XR Plugin Management. Versions 4.3.1 - 4.3.3 contain a bug that delete that file.

Even if you don't use AR, the example used to include that package until very recently.

Screenshot (510)
please help ASAP

@moaznarsun
Copy link

moaznarsun commented Apr 22, 2024

Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (7, 27): Unresolved reference: UnityPlayerActivity
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (10, 31): Unresolved reference: UnityPlayerActivity
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (13, 5): 'onCreate' overrides nothing
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (14, 15): Unresolved reference: onCreate
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (16, 14): Unresolved reference: window
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (17, 22): Unresolved reference: intent
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (24, 9): Unresolved reference: mUnityPlayer
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (29, 9): Unresolved reference: mUnityPlayer
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (33, 22): None of the following functions can be called with the arguments supplied:
public constructor Intent(p0: Context!, p1: Class<*>!) defined in android.content.Intent
public constructor Intent(p0: String!, p1: Uri!) defined in android.content.Intent
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (35, 16): Variable expected
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (36, 9): Unresolved reference: startActivity
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (39, 5): 'onUnityPlayerUnloaded' overrides nothing
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (43, 5): 'onLowMemory' overrides nothing
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (44, 15): Unresolved reference: onLowMemory
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (45, 9): Unresolved reference: mUnityPlayer
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (48, 5): 'onNewIntent' overrides nothing
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (49, 15): Unresolved reference: onNewIntent
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (53, 9): Unresolved reference: setIntent
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (65, 26): Unresolved reference: window
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (66, 26): Unresolved reference: window
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (68, 26): Unresolved reference: window
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (73, 17): Unresolved reference: mUnityPlayer
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (78, 5): 'onBackPressed' overrides nothing
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (81, 15): Unresolved reference: onBackPressed
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (84, 5): 'onWindowFocusChanged' overrides nothing
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (85, 15): Unresolved reference: onWindowFocusChanged
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (88, 5): 'onPause' overrides nothing
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (89, 15): Unresolved reference: onPause
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (90, 14): Unresolved reference: mUnityPlayer
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (93, 5): 'onResume' overrides nothing
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (94, 15): Unresolved reference: onResume
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (95, 14): Unresolved reference: mUnityPlayer
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (98, 5): 'onDestroy' overrides nothing
e: C:\Users\moaz.ahmad\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_unity_widget-2022.2.1\android\src\main\kotlin\com\xraph\plugin\flutter_unity_widget\OverrideUnityActivity.kt: (99, 15): Unresolved reference: onDestroy

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':flutter_unity_widget:compileDebugKotlin'.

Compilation error. See log for more details

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

BUILD FAILED in 23s
Error: Gradle task assembleDebug failed with exit code 1

Exited (1).

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':flutter_unity_widget:compileDebugKotlin'.

Compilation error. See log for more details

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

BUILD FAILED in 23s
Error: Gradle task assembleDebug failed with exit code 1

I am getting the same issue. Have you been able to resolve it?

@liushengliuyun
Copy link

My problem is same as you , the following is my specific log.

  • What went wrong:
    Execution failed for task ':unityLibrary:res.androidlib:packageDebugResources'.

Error while evaluating property 'namespace' of task ':unityLibrary:res.androidlib:packageDebugResources'
Failed to calculate the value of task ':unityLibrary:res.androidlib:packageDebugResources' property 'namespace'.
> Failed to query the value of property 'namespace'.
> Manifest file does not exist: D:\project_unity..\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\res.androidlib\AndroidManifest.xml

只要删除:res.androidlib就好了, 目录大概在plugin/Android下面 .
Just delete :res.androidlib, roughly under plugin/Android

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

5 participants