- ‘android.enableUnitTestBinaryResources’ является устаревшим
- 1 ответ
- Похожие вопросы:
- AndroidX : No instrumentation registered! Must run under a registering instrumentation
- 8 Answers 8
- Android is not building #503
- Comments
- brunogonncalves commented Jul 16, 2020
- Your Environment
- Context
- Expected Behavior
- Actual Behavior
- Possible Fix
- Steps to Reproduce
- JacobJaffe commented Jul 17, 2020 •
- brunogonncalves commented Jul 29, 2020
- Android Studio — Failed to apply plugin [id ‘com.android.application’]
- 28 Answers 28
- Android build не строится, ошибки
‘android.enableUnitTestBinaryResources’ является устаревшим
Я только что обновил свой Android Studio, и теперь, когда я строю свой проект, я получаю эту ошибку:
Опция ‘android.enableUnitTestBinaryResources’ устарела. Текущее значение по умолчанию-‘false’. Он был удален из текущей версии плагина Android Gradle. Необработанный ресурс для функциональности модульного тестирования удаляется. Затронутые модули: приложение
Вот мой build.gradle(:app)
Я удалил нижеприведенную строку, но это не решило проблему:
А вот и мой gradle.build(:проект):
Я был бы признателен, если бы вы помогли мне с этим.
1 ответ
Есть ли возможность программно определить, является ли конкретный метод устаревшим в текущей версии системы? Спасибо
Я пытаюсь преобразовать Ip-адрес в uint : IPAddress requstedIpAddress; uint requesteIpAddressUint = (uint)IPAddress.Parse(requstedIpAddress.ToString()).Address; И получил это предупреждение: ‘System.Net.IPAddress.Address’ является устаревшим: ‘это свойство было устаревшие. Это адрес, зависящий от.
Я понял, в чем проблема. Из Android studio 3.3+ нет необходимости добавлять приведенный ниже код в файл «gradle.properties».
Так что его надо убрать.
Похожие вопросы:
В чем разница между XML схемой и DTD? , два ответчика утверждают, что DTD is deprecated. Один из них, пользователь vtd-xml-author, утверждает, что DTD в значительной степени устарел, потому что он.
Я искал везде и не могу найти ответа. является ли устаревшим элементом HTML?
Я получил следующее предупреждение ‘System.Configuration.ConfigurationSettings.AppSettings’ является устаревшим: Этот метод устарел, его заменила.
Есть ли возможность программно определить, является ли конкретный метод устаревшим в текущей версии системы? Спасибо
Я пытаюсь преобразовать Ip-адрес в uint : IPAddress requstedIpAddress; uint requesteIpAddressUint = (uint)IPAddress.Parse(requstedIpAddress.ToString()).Address; И получил это предупреждение.
предупреждение CS0618: ‘IPAddress.Address’ является устаревшим: ‘данный объект является устаревшим. Это адрес, зависящий от семьи. Пожалуйста, используйте IPAddress.Equals метод выполнения.
При инициализации GoogleApiClient я получаю следующее предупреждение: ‘PlusClass’ является устаревшим: ‘этот класс является устаревшим в этом android платформа’ Каковы его альтернативы? Код.
У меня есть репо Ubuntu 16.04 64 bit, и я установил mysql-сервер через apt-get. Я заметил, что mysql_setpermission не установлен на моем сервере. Является ли он устаревшим или является частью.
Я начал немного увлекаться OpenGL, но все время получаю предупреждения! Почему, например, glutInit(&argc, arg); устарел в macOS 10.9? (‘glutInit’ является устаревшим: во-первых, устаревшие в.
Источник
AndroidX : No instrumentation registered! Must run under a registering instrumentation
I’m trying to run a local unit test that depends on the context, and was following this guide: https://developer.android.com/training/testing/unit-testing/local-unit-tests#kotlin and I set up my project like this (following this link : https://developer.android.com/training/testing/set-up-project ):
build.gradle(app)
My espresso_version is espressoVersion = ‘3.1.0’
My test that is located in module-name/src/test/java/ looks like this:
Everytime I run it, it gives me:
If I run it as a Instrumental Test(changing the package) it runs without errors. But I thought that this guide was exactly to be able to run unit test using Android Framework classes such as Context. I even tried run that class UnitTestSample but the same error occurs.
I also removed all android.support dependencies from my project
Any ideas on how to solve it?
8 Answers 8
Update
You should no longer encounter this error if youre using the latest gradle version.
I also encountered this issue.
If you look at migrating to Robolectric 4.0 here, it suggest to add the following line in your gradle.properties .
The problem is that, if you add this you your gradle.properties , it will output this warning:
WARNING: The option setting ‘android.enableUnitTestBinaryResources=true’ is experimental and unsupported.
Now, if you look at Robolectric releases here. You could see that this is a known issue where they state that
Android Gradle Plugin may report the following warning, which may be safely ignored: WARNING: The option setting ‘android.enableUnitTestBinaryResources=true’ is experimental and unsupported.. Android Gradle Plugin 3.4 will resolve this issue.
I believe unless you could update you gradle to 3.4. You won’t be able to solve this issue.
What I did instead was to include Robolectric 4.0 as dependency.
and annotate my test class with
This should make your test work.
Now when you run the test, you’ll notice that Robolectric will log the following:
Ignore this for now but as soon as you could update your gradle, migrate to the new Robolectric testing.
Источник
Android is not building #503
Comments
brunogonncalves commented Jul 16, 2020
Your Environment
- Plugin version: ^0.6.3
- Platform: Android
- Running in Simulator: YES
- React Native version: 0.62.2
Context
The project is not building for android
Expected Behavior
Should build correctly and generate a .apk and .aab files.
Actual Behavior
Receiving a log error when try to build app:
Possible Fix
I did many tests and I saw is just needed to remove android.enableUnitTestBinaryResources from gradle.properties
Steps to Reproduce
- Open AndroidStudio
- Try to build app
The text was updated successfully, but these errors were encountered:
JacobJaffe commented Jul 17, 2020 •
This is also occurring for me.
@brunogonncalves can yoou elaborate your fix? I’m seeing that error but have not found android.enableUnitTestBinaryResources
EDIT:
Can confirm changing node_modules/@mauron85/react-native-background-geolocation/android/common/gradle.properties fixes the build issue. It’s unclear to me if this will break functionality?
brunogonncalves commented Jul 29, 2020
This is also occurring for me.
@brunogonncalves can yoou elaborate your fix? I’m seeing that error but have not found android.enableUnitTestBinaryResources
EDIT:
Can confirm changing node_modules/@mauron85/react-native-background-geolocation/android/common/gradle.properties fixes the build issue. It’s unclear to me if this will break functionality?
For me worked without break any thing, just remove android.enableUnitTestBinaryResources line from file node_modules/@mauron85/react-native-background-geolocation/android/common/gradle.properties
I put in my project an .sh file to automatically remove this from the code to help my co-workers.
Источник
Android Studio — Failed to apply plugin [id ‘com.android.application’]
I am working on an app. In my app there is no error in code but when I try to run my project it gives following errors.
Error:(1, 1) A problem occurred evaluating project ‘:app’.
Failed to apply plugin [id ‘com.android.application’]
Could not create plugin of type ‘AppPlugin’.
Following is my build.gradle file
28 Answers 28
Updated June 24, 2020
You need to update to the latest gradle version to solve this issue.
Please make sure you are on the latest Android Studio
and then update your project level build.gradle by updating this dependency
It might show a popup asking your permission to update gradle , please update and it will download the latest distribution automatically and the issue will be resolved.
Or else you can
Get Latest Gradle 5.6.4 from here and Add it manually
If you don’t want to download it manually:
Open YourProject > gradle > wrapper > gradle-wrapper.properties and replace
Rebuild the project or just run gradle sync again.
I faced the same issue in Android Studio version 3.5.3. This is how i fixed it.
I updated the dependecy com.android.tools.build:gradle in my project level build.gradle file from a lower version to 3.5.3 as below.
I then went ahead and edited the value of distributionUrl in gradle-wrapper.properties file as below. This file is in the directory /gradle/wrapper/ from the root of your project folder.
Delete gradle cache files. It can be in path like C:\Users\username\.gradle\caches for Windows users. For UNIX based operating systems it will be
I found the simplest answer to this.
Just go gradle.properties file and change the enableUnitTestBinaryResources from true to false
The snapshot is shown below
Feb 25th 2021:
For me, after over 8 hours of trials and errors, it was the re-ordering of the repositories sources in the project-level build.gradle file that solved the issue for me. So, instead of:
I moved google() to the bottom:
Of course, be sure to update the gradle android plugin and the matching gradle-wrapper distribution versions too.
i fixed it by upgrade to gradle-5.6.4-all.zip in project\gradle\wrapper\gradle-wrapper.properties
Open the project on Android Studio and let it solve the problems for you
It immediately shows at the left bottom:
Then click that link, and it will fix the right files for you.
This ended up fixing the Gradle version as mentioned at: https://stackoverflow.com/a/37091489/895245 but it also fixed further errors, so it is the easiest thing to do.
Solved it by setting gradle version 3.2.1
In Project level Gradle
Just go to the gradle.properties file and change enableUnitTestBinaryResources from true to false
you just need to change your project.gradle file. And sync your Gradle.
When I had this problem was beacuse my directory had non ASCII characteres. Try changing it
First update the gradle to the latest version, if the issue still persists (in my case it did) then do the below- go to gradle.properties file and comment the line android.enableUnitTestBinaryResources=true
click on sync now.
it should solve the issue.
As in Accepted post, the problem solved with updating gradle to 4.4.1.
- Get Latest Gradle 4.4.1 from here
- Extract and put it in «C:\Program Files\Android\Android Studio\gradle»
- Then from android studio go to «File -> Settings -> Build, Excecution, Deployment -> Gradle», from Project-level settings: Select Use local gradle Distribution and give the above
address(folder with name «gradle-4.4.1» in «C:\Program Files\ . «) - Then make project.
My Problem solved this way.
In my case, if your version of build tools in the build.gradle file in the root folder like :
My problem was I had czech characters (č,ú,ů,á,ó) in the project folder path.
I had the same issue and this is what I did and I was able to solve my issue:
- I’m working with ShimmerAndroidAPI ( this library ) with Android Studio 3.6.1.
- This worked well before I upgrade the Gradle and Android Studio to a new version using pop up upgrade suggestions appeared in android studio.
- I followed the below steps as mentioned in this answer and I was able to make the project work.The steps I followed are as below.
Gradle file was updated from classpath ‘com.android.tools.build:gradle:3.6.1’ to
classpath ‘com.android.tools.build:gradle:3.1.3’
Then distribution URL in gradle-wrapper.properties file was updated from distributionUrl=https://services.gradle.org/distributions/gradle-5.6.4-all.zip to
distributionUrl=https://services.gradle.org/distributions/gradle-5.4.1-all.zip
Gradle was then synched.
Whenever you update your Gradle files do not forget to check the compatible Gradle wrapper distibutionUrl , in your case it happened because of the same.
Inside my project there is a .gradle folder which had cached the previous gradle version I was using (5.4.1) and gradle kept using that instead of my newly downloaded one (5.6.4).
- Close Android Studio
- Delete the older gradle version folders from your project.
- Restart Android Studio. Everything should be working correctly
In case this didn’t work you can also try the following:
Источник
Android build не строится, ошибки
Добрый вечер, помогите разобраться с проблемой, по какой-то причине билд перестал собираться, ошибки следующие.
> Configure project :launcher
WARNING: The option setting ‘android.enableR8=false’ is deprecated.
It will be removed in version 5.0 of the Android Gradle plugin.
You will no longer be able to disable R8
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2020.3.15f2\Editor\Data\PlaybackEngin es\AndroidPlayer\SDK\build-tools\30.0.2\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2020.3.15f2\Editor\Data\PlaybackEngin es\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2020.3.15f2\Editor\Data\PlaybackEngin es\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2020.3.15f2\Editor\Data\PlaybackEngin es\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only
> Task :unityLibraryreBuild UP-TO-DATE
> Task :launcherreBuild UP-TO-DATE
> Task :unityLibraryreReleaseBuild UP-TO-DATE
> Task :launcherreReleaseBuild UP-TO-DATE
> Task :unityLibrary:compileReleaseAidl NO-SOURCE
> Task :unityLibraryackageReleaseRenderscript NO-SOURCE
> Task :launcher:generateReleaseBuildConfig UP-TO-DATE
> Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
> Task :launcher:compileReleaseAidl NO-SOURCE
> Task :unityLibrary:generateReleaseResValues UP-TO-DATE
> Task :launcher:compileReleaseRenderscript NO-SOURCE
> Task :unityLibrary:generateReleaseResources UP-TO-DATE
> Task :launcher:javaPreCompileRelease UP-TO-DATE
> Task :launcher:generateReleaseResValues UP-TO-DATE
> Task :launcher:generateReleaseResources UP-TO-DATE
> Task :launcher:createReleaseCompatibleScreenManifests UP-TO-DATE
> Task :unityLibraryackageReleaseResources UP-TO-DATE
> Task :launcher:extractDeepLinksRelease UP-TO-DATE
> Task :unityLibrary:extractDeepLinksRelease UP-TO-DATE
> Task :launcher:mergeReleaseResources UP-TO-DATE
> Task :launcherrepareLintJar UP-TO-DATE
> Task :unityLibrary:compileReleaseLibraryResources UP-TO-DATE
> Task :launcher:checkReleaseDuplicateClasses UP-TO-DATE
> Task :unityLibraryarseReleaseLocalResources UP-TO-DATE
> Task :launcher:desugarReleaseFileDependencies UP-TO-DATE
> Task :unityLibrary:generateReleaseBuildConfig UP-TO-DATE
> Task :launcher:mergeExtDexRelease UP-TO-DATE
> Task :unityLibrary:javaPreCompileRelease UP-TO-DATE
> Task :unityLibraryrepareLintJarForPublish UP-TO-DATE
> Task :launcher:mergeReleaseShaders UP-TO-DATE
> Task :launcher:compileReleaseShaders NO-SOURCE
> Task :launcher:generateReleaseAssets UP-TO-DATE
> Task :launcherrocessReleaseJavaRes NO-SOURCE
> Task :unityLibrary:mergeReleaseShaders UP-TO-DATE
> Task :launcher:collectReleaseDependencies UP-TO-DATE
> Task :unityLibrary:compileReleaseShaders NO-SOURCE
> Task :unityLibraryrocessReleaseManifest
> Task :launcher:sdkReleaseDependencyData UP-TO-DATE
> Task :unityLibrary:generateReleaseRFile UP-TO-DATE
> Task :unityLibrary:compileReleaseJavaWithJavac UP-TO-DATE
> Task :unityLibrary:bundleLibCompileToJarRelease UP-TO-DATE
> Task :unityLibrary:bundleLibRuntimeToJarRelease UP-TO-DATE
> Task :unityLibrary:generateReleaseAssets UP-TO-DATE
> Task :launcherrocessReleaseManifest
> Task :unityLibraryackageReleaseAssets
> Task :unityLibraryrocessReleaseJavaRes NO-SOURCE
> Task :unityLibrary:bundleLibResRelease NO-SOURCE
> Task :unityLibrary:mergeReleaseJniLibFolders UP-TO-DATE
> Task :unityLibrary:mergeReleaseNativeLibs UP-TO-DATE
> Task :unityLibrary:stripReleaseDebugSymbols UP-TO-DATE
> Task :unityLibrary:copyReleaseJniLibsProjectOnly UP-TO-DATE
> Task :launcherrocessReleaseResources FAILED
34 actionable tasks: 4 executed, 30 up-to-date
Android build
Собирала кучу билдов под андроид. просто перекидывал файлы на устройства, все работало норм. Как на.
Unity build Android Apps
Всем привет! У меня Unity отказывается компилировать apk файл, ссылается на отсутствие JDK 7. Не.
Android build tools на 32-разрядной машине
Запарился гуглить, уже не знаю, в какие слова запрос облечь. Столько в жизни не матерился. У меня.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ‘:launcherrocessReleaseResources’.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
AAPT: error: failed writing to ‘C:\Users\koker\Documents\UnityProjects\Game001-2020-08-03\Temp\gradleOut\launcher\build\intermediates\runtime_symbo l_list\release\R.txt’: Недопустимые данные. (13).
* 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
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
CommandInvokationFailure: Gradle build failed.
C:\Program Files\Unity\Hub\Editor\2020.3.15f2\Editor\Data\PlaybackEngin es\AndroidPlayer\OpenJDK\bin\java.exe -classpath «C:\Program Files\Unity\Hub\Editor\2020.3.15f2\Editor\Data\PlaybackEngin es\AndroidPlayer\Tools\gradle\lib\gradle-launcher-6.1.1.jar» org.gradle.launcher.GradleMain «-Dorg.gradle.jvmargs=-Xmx4096m» «assembleRelease»
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ‘:launcherrocessReleaseResources’.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
AAPT: error: failed writing to ‘C:\Users\koker\Documents\UnityProjects\Game001-2020-08-03\Temp\gradleOut\launcher\build\intermediates\runtime_symbo l_list\release\R.txt’: Недопустимые данные. (13).
* 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
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
]
stdout[
> Configure project :launcher
WARNING: The option setting ‘android.enableR8=false’ is deprecated.
It will be removed in version 5.0 of the Android Gradle plugin.
You will no longer be able to disable R8
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2020.3.15f2\Editor\Data\PlaybackEngin es\AndroidPlayer\SDK\build-tools\30.0.2\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2020.3.15f2\Editor\Data\PlaybackEngin es\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2020.3.15f2\Editor\Data\PlaybackEngin es\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2020.3.15f2\Editor\Data\PlaybackEngin es\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only
> Task :unityLibraryreBuild UP-TO-DATE
> Task :launcherreBuild UP-TO-DATE
> Task :unityLibraryreReleaseBuild UP-TO-DATE
> Task :launcherreReleaseBuild UP-TO-DATE
> Task :unityLibrary:compileReleaseAidl NO-SOURCE
> Task :unityLibraryackageReleaseRenderscript NO-SOURCE
> Task :launcher:generateReleaseBuildConfig UP-TO-DATE
> Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
> Task :launcher:compileReleaseAidl NO-SOURCE
> Task :unityLibrary:generateReleaseResValues UP-TO-DATE
> Task :launcher:compileReleaseRenderscript NO-SOURCE
> Task :unityLibrary:generateReleaseResources UP-TO-DATE
> Task :launcher:javaPreCompileRelease UP-TO-DATE
> Task :launcher:generateReleaseResValues UP-TO-DATE
> Task :launcher:generateReleaseResources UP-TO-DATE
> Task :launcher:createReleaseCompatibleScreenManifests UP-TO-DATE
> Task :unityLibraryackageReleaseResources UP-TO-DATE
> Task :launcher:extractDeepLinksRelease UP-TO-DATE
> Task :unityLibrary:extractDeepLinksRelease UP-TO-DATE
> Task :launcher:mergeReleaseResources UP-TO-DATE
> Task :launcherrepareLintJar UP-TO-DATE
> Task :unityLibrary:compileReleaseLibraryResources UP-TO-DATE
> Task :launcher:checkReleaseDuplicateClasses UP-TO-DATE
> Task :unityLibraryarseReleaseLocalResources UP-TO-DATE
> Task :launcher:desugarReleaseFileDependencies UP-TO-DATE
> Task :unityLibrary:generateReleaseBuildConfig UP-TO-DATE
> Task :launcher:mergeExtDexRelease UP-TO-DATE
> Task :unityLibrary:javaPreCompileRelease UP-TO-DATE
> Task :unityLibraryrepareLintJarForPublish UP-TO-DATE
> Task :launcher:mergeReleaseShaders UP-TO-DATE
> Task :launcher:compileReleaseShaders NO-SOURCE
> Task :launcher:generateReleaseAssets UP-TO-DATE
> Task :launcherrocessReleaseJavaRes NO-SOURCE
> Task :unityLibrary:mergeReleaseShaders UP-TO-DATE
> Task :launcher:collectReleaseDependencies UP-TO-DATE
> Task :unityLibrary:compileReleaseShaders NO-SOURCE
> Task :unityLibraryrocessReleaseManifest
> Task :launcher:sdkReleaseDependencyData UP-TO-DATE
> Task :unityLibrary:generateReleaseRFile UP-TO-DATE
> Task :unityLibrary:compileReleaseJavaWithJavac UP-TO-DATE
> Task :unityLibrary:bundleLibCompileToJarRelease UP-TO-DATE
> Task :unityLibrary:bundleLibRuntimeToJarRelease UP-TO-DATE
> Task :unityLibrary:generateReleaseAssets UP-TO-DATE
> Task :launcherrocessReleaseManifest
> Task :unityLibraryackageReleaseAssets
> Task :unityLibraryrocessReleaseJavaRes NO-SOURCE
> Task :unityLibrary:bundleLibResRelease NO-SOURCE
> Task :unityLibrary:mergeReleaseJniLibFolders UP-TO-DATE
> Task :unityLibrary:mergeReleaseNativeLibs UP-TO-DATE
> Task :unityLibrary:stripReleaseDebugSymbols UP-TO-DATE
> Task :unityLibrary:copyReleaseJniLibsProjectOnly UP-TO-DATE
> Task :launcherrocessReleaseResources FAILED
34 actionable tasks: 4 executed, 30 up-to-date
]
exit code: 1
UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0)
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0)
UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0)
UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1[T] progress, System.String error) (at :0)
UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at :0)
Rethrow as GradleInvokationException: Gradle build failed
UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at :0)
UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.E xecute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTa sks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0)
Rethrow as BuildFailedException: Exception of type ‘UnityEditor.Build.BuildFailedException’ was thrown.
UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBui ld (System.String title, System.String message, System.Exception ex) (at :0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTa sks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at :0)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at :0)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at :0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Источник