Quantcast
Channel: Questions in topic: "android-sdk"
Viewing all 190 articles
Browse latest View live

Android SDK problem

$
0
0
Hello, I'm trying to make android games. I installed the JDK but I have a problem with the SDK. I can't open the "android.bat" file, I tried to open it as administrator but it didn't work either, when I double click it, it shows black box for a few time and then it disappears, I'm running Windows 10, please help!

Unable to merge android manifests. Trying to merge incompatible element with unity 2017

$
0
0
Hello, I am unable to build my android project. I understood that there are 2 manifest files with different data. I just don't know how to make them the same. Below is the error I get: CommandInvokationFailure: Unable to merge android manifests. /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/bin/java -Xmx2048M -Dcom.android.sdkmanager.toolsdir="/Users/mohamad/Development/android-sdk-macosx/tools" -Dfile.encoding=UTF8 -jar "/Applications/Unity/PlaybackEngines/AndroidPlayer/Tools/sdktools.jar" - stderr[ Error: [Temp/StagingArea/AndroidManifest-main.xml, /Users/mohamad/Desktop/Game Projects/ARAB FASHIONISTA/Arab_FashionistaAndroidB/Arab_Fashionista2/Temp/StagingArea/android-libraries/com.google.android.gms.play-services-ads-lite-11.8.0/AndroidManifest.xml:12] Trying to merge incompatible /manifest/application/activity[@name=com.google.android.gms.ads.AdActivity] element: -- ] stdout[ [Temp/StagingArea/AndroidManifest-main.xml, /Users/mohamad/Desktop/Game Projects/ARAB FASHIONISTA/Arab_FashionistaAndroidB/Arab_Fashionista2/Temp/StagingArea/android-libraries/GoogleMobileAdsPlugin/AndroidManifest.xml:10] Skipping identical /manifest/application/meta-data[@name=com.google.android.gms.version] element. How to solve this? i have been searching for an entire day :(

How to uninstall google support library version 28.0.0alpha1

$
0
0
I added OneSignal into my project for push notifications and everything worked well. Then I added GoogleAnalyticsv4 for analytics and I couldn't build an apk. So I decided to remove GoogleAnalytics all together and use UnityAnalytics at the moment. But when I close and open the project again, the play services resolves removes the support library with version 27.0.1 and adds the support library with version 28.0.0 alpha1 and I cannot build again. Could anyone guide me on how to resolve this problem..Been stuck for a couple of days now. Thanks!

Where to locate an Android game SDK root folder?,Where should my Android game SDK root folder be located?

$
0
0
I am new to Unity and decided to try and build an android VR application as my first project! After creating the scene, I tried to build using the "Android-Support-for-Editor-2017.3.1f1". Once I selected "Build & Run", I was prompted to select a folder to save the apk file in. After I selected the folder it saves, which is fine. The problem occurred when it prompted me to select an Android SDK root folder. Once I selected a folder (any folder) it just prompted me to select a folder again as if I didn't select a valid folder. The weird thing is that it didn't even tell me what was wrong. No dialogue box or error message popped up. The "select an Android SDK root folder" box just kept reappearing. I have a feeling I missed something very obvious or that I didn't set-up a root folder somewhere I should have. Any help would be hugely appreciated; this has stumped me. Tom.

Problem exporting with the sdk android

$
0
0
Hello! I need help. I've been trying to export for android and I have many problems. I installed the jdk and the android studio, but unity still sends error messages. I'm new at this so any help I'll be thankful. Here are some screen shots of my configurations and the error messages: **1.- Error message:** ![alt text][1] **2.- Error message:** ![alt text][2] 3.-Missing SDK from android studio: ![alt text][3] **4.-External tools:** ![alt text][4] **5.- SDK and tools folders:** Here I don't know why there is so many "tools" folders. And I'm not sure if the content is right. ![alt text][5] [1]: https://lh5.googleusercontent.com/DWRO7sds7LhQx8w4ftpzrbXHsK1MpNSrLiq9w5UmH-GUZ2cEengSamRviO2iz3MKGvAmg4aqoZWi2uwLyuIS=w2460-h1598-rw [2]: https://lh3.googleusercontent.com/7VWzLkqM0lAKGmCfCzk7kF1FZnbWOhk0Az9BeiotGwRYRTDg2TsKbdfr6UGjaDTLXH3shfeTuvkzpPHJwknn=w2460-h1598-rw [3]: https://lh5.googleusercontent.com/qZSmjrbs6NRCTYybUtIYTmyEZUegw4TdrF5oohXsIruJOYQDTFA35RRwpH_TgWGud86DqIZSoUHLU1b5z3vY=w2460-h1598-rw [4]: https://lh3.googleusercontent.com/X8c7hnXZ2QE0pWZSAJO9UaI3uoROJPBep_j0AqttXqpP4_eft2eFq7NnKrKhgKDmG09e5s6BBVu8nKSCnhck=w1502-h1552-rw [5]: https://lh5.googleusercontent.com/cefn3w7Cg9nsY3bihRiO2wwkjo8iT_dL73jIpRMMdoIdPC7lWbBy_pyvsRH5SKGLbXJAm7pGy7AEN5O7npc9=w1502-h1552-rw

debug android hash key almost i tried all solution not found any

$
0
0
Debug android key hash is showing the screen cannot be set to the number of lines and columns specified.

Cannot install apk in android 8.0.0 (API level 26)

$
0
0
after I export apk file from unity and try to install it in my phone, which is android 8.0.0 (API level 26), the installation always fail. However, those apk file could be executed successfully in android version lower than 7.0. Is it because unity does not support android 8.0.0 (API level 26) yet ? Or is there any player settings I have to change in order to run the app in android 8.0 ?

CommandInvokationFailure: Failed to re-package resources.

$
0
0
Stuck in a problem from past two days, Also re-installed the sdk but no success.

**1. Checked the Build-Tools Folder , there is a folder: 27.0.3.
2. I am using Unity 28.1.1f1.
3. Have been using JDK: "jdk1.8.0_172".
4. Working on Windows 10.**

Unable to understand the reason. Please help CommandInvokationFailure: Failed to re-package resources. C:\Users\Amit\AppData\Local\Android\sdk\build-tools\27.0.3\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:/Users/Amit/AppData/Local/Android/sdk\platforms\android-27\android.jar" -F bin/resources.ap_ --extra-packages android.arch.core:android.arch.lifecycle.livedata.core:android.arch.lifecycle:android.arch.lifecycle.viewmodel:com.clevertap.unity:android.support.graphics.drawable.animated:android.support.v7.appcompat:android.support.asynclayoutinflater:android.support.v7.cardview:android.support.coordinatorlayout:android.support.cursoradapter:android.support.customtabs:android.support.customview:android.support.design:android.support.design.animation:android.support.design.bottomappbar:android.support.design.bottomnavigation:android.support.design.bottomsheet:android.support.design.button:android.support.design.canvas:android.support.design.card:android.support.design.chip:android.support.design.circularreveal:android.support.design.circularreveal.cardview:android.support.design.circularreveal.coordinatorlayout:android.support.design.color:android.support.design.dialog:android.support.design.drawable:android.support.design.expandable:android.support.design.floatingactionbutton:android.support.design.internal:android.support.design.math:android.support.design.navigation:android.support.design.resources:android.support.design.ripple:android.support.design.shape:android.support.design.snackbar:android.support.design.stateful:android.support.design.textfield:android.support.design.textfield:android.support.design.theme:android.support.design.transformation:android.support.design.typography:android.support.design.widget:android.support.documentfile:android.support.drawerlayout:android.support.interpolator:android.support.loader:android.support.localbroadcastmanager:android.support.print:android.support.v7.recyclerview:android.support.slidingpanelayout:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:android.support.graphics.drawable:android.support.swiperefreshlayout:android.support.transition:android.support.viewpager:com.google.android.gms.auth.api:com.google.android.gms.auth.api.phone:com.google.android.gms.auth:com.google.android.gms.base:com.google.android.gms.common:com.google.android.gms.gcm:com.google.android.gms.iid:com.google.android.gms.stats:com.google.android.gms.tasks:com.facebook:com.facebook.android:in.locomotion.plugins.login:com.aurodo.vehicles4d.resources -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\android.arch.core.runtime-1.1.0\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\android.arch.lifecycle.livedata-core-1.1.0\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\android.arch.lifecycle.runtime-1.1.0\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\android.arch.lifecycle.viewmodel-1.1.0\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\clevertapsdk-unity\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.animated-vector-drawable-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.asynclayoutinflater-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.cardview-v7-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.coordinatorlayout-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.cursoradapter-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.customtabs-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.customview-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-animation-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-bottomappbar-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-bottomnavigation-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-bottomsheet-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-button-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-canvas-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-card-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-chip-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-circularreveal-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-circularreveal-cardview-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-circularreveal-coordinatorlayout-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-color-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-dialog-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-drawable-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-expandable-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-floatingactionbutton-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-internal-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-math-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-navigation-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-resources-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-ripple-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-shape-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-snackbar-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-stateful-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-tabs-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-textfield-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-theme-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-transformation-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-typography-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-widget-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.documentfile-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.drawerlayout-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.interpolator-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.loader-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.localbroadcastmanager-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.print-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.recyclerview-v7-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.slidingpanelayout-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.support-compat-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.support-core-ui-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.support-core-utils-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.support-fragment-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.support-v4-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.support-vector-drawable-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.swiperefreshlayout-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.transition-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.viewpager-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-auth-15.0.1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-base-15.0.1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-basement-15.0.1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-gcm-15.0.1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\facebook-android-wrapper-7.10.1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\google-login-kit\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\unity-android-resources\res" stderr[ C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-textfield-28.0.0-alpha1\res\drawable-v21\avd_hide_password.xml:22: note: generating nested resource com.aurodo.vehicles4d:drawable/avd_hide_password_1 C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-textfield-28.0.0-alpha1\res\drawable-v21\avd_hide_password.xml:57: note: generating nested resource com.aurodo.vehicles4d:drawable/avd_hide_password_2 C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-textfield-28.0.0-alpha1\res\drawable-v21\avd_hide_password.xml:73: note: generating nested resource com.aurodo.vehicles4d:drawable/avd_hide_password_3 C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-textfield-28.0.0-alpha1\res\drawable-v21\avd_show_password.xml:22: note: generating nested resource com.aurodo.vehicles4d:drawable/avd_show_password_1 C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-textfield-28.0.0-alpha1\res\drawable-v21\avd_show_password.xml:56: note: generating nested resource com.aurodo.vehicles4d:drawable/avd_show_password_2 C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-textfield-28.0.0-alpha1\res\drawable-v21\avd_show_password.xml:72: note: generating nested resource com.aurodo.vehicles4d:drawable/avd_show_password_3 Failed to generate resource table for split '' C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-28.0.0-alpha1\res\values-v28\values-v28.xml:7: error: Error: No resource found that matches the given name (at 'dialogCornerRadius' with value '?android:attr/dialogCornerRadius'). ] stdout[ Configurations: (default) Files: drawable\close.png Src: () C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\close.png AndroidManifest.xml Src: () AndroidManifest.xml Resource Dirs: Type drawable drawable\close.png Src: () C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\close.png Including resources from package: C:\Users\Amit\AppData\Local\Android\sdk\platforms\android-27\android.jar applyFileOverlay for drawable trying overlaySet Key=com_facebook_auth_dialog_background.xml trying overlaySet Key=com_facebook_auth_dialog_cancel_background.xml trying overlaySet Key=com_facebook_auth_dialog_header_background.xml Processing image: C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\close.png (processed image C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\close.png: 45% size of source) (new resource id design_layout_tab_text from C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-tabs-28.0.0-alpha1\res\layout\design_layout_tab_text.xml) (new resource id design_menu_item_action_area from C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-internal-28.0.0-alpha1\res\layout\design_menu_item_action_area.xml) ] exit code: 1 at UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00000] in :0 at UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00000] in :0 at UnityEditor.Android.PostProcessor.Tasks.TasksCommon.Exec (System.String command, System.String args, System.String workingdir, System.String errorMsg) [0x00000] in :0 at UnityEditor.Android.PostProcessor.Tasks.BuildResources.CompileResources (UnityEditor.Android.PostProcessor.PostProcessorContext context) [0x00000] in :0 at UnityEditor.Android.PostProcessor.Tasks.BuildResources.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) [0x00000] in :0 at UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) [0x00000] in :0 UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions, Boolean) UnityEditor.DefaultBuildMethods:BuildPlayer(BuildPlayerOptions) (at C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:165) UnityEditor.BuildPlayerWindow:CallBuildMethods(Boolean, BuildOptions) (at C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:89) UnityEditor.BuildPlayerWindow:GUIBuildButtons(IBuildWindowExtension, Boolean, Boolean, Boolean, BuildPlatform) (at C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindow.cs:885) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings() (at C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindow.cs:810) UnityEditor.BuildPlayerWindow:OnGUI() (at C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindow.cs:415) System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&) System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115) UnityEditor.HostView:Invoke(String, Object) (at C:\buildslave\unity\build\Editor\Mono\HostView.cs:291) UnityEditor.HostView:Invoke(String) (at C:\buildslave\unity\build\Editor\Mono\HostView.cs:284) UnityEditor.HostView:OldOnGUI() (at C:\buildslave\unity\build\Editor\Mono\HostView.cs:103) UnityEngine.Experimental.UIElements.IMGUIContainer:DoOnGUI(Event) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:206) UnityEngine.Experimental.UIElements.IMGUIContainer:HandleIMGUIEvent(Event) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:366) UnityEngine.Experimental.UIElements.IMGUIContainer:HandleEvent(EventBase) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:350) UnityEngine.Experimental.UIElements.EventDispatcher:DispatchEvent(EventBase, IPanel) (at C:\buildslave\unity\build\Modules\UIElements\EventDispatcher.cs:215) UnityEngine.Experimental.UIElements.UIElementsUtility:DoDispatch(BaseVisualElementPanel) (at C:\buildslave\unity\build\Modules\UIElements\UIElementsUtility.cs:224) UnityEngine.Experimental.UIElements.UIElementsUtility:ProcessEvent(Int32, IntPtr) (at C:\buildslave\unity\build\Modules\UIElements\UIElementsUtility.cs:77) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:\buildslave\unity\build\Modules\IMGUI\GUIUtility.cs:184) (Filename: Line: -1) DisplayProgressNotification: Build Failed Error building Player: 2 errors (Filename: Line: -1) Unloading 1 Unused Serialized files (Serialized files now loaded: 0) System memory in use before: 193.7 MB. System memory in use after: 194.0 MB. Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 4201. Total: 105.477885 ms (FindLiveObjects: 6.263929 ms CreateObjectMapping: 0.308937 ms MarkObjects: 98.817263 ms DeleteObjects: 0.086214 ms)

Unity not being able to build to Android despite having the current android sdk installed.

$
0
0
In the Android Studio SDK manager, I checked every Version from 4.0 to 8.1, and downloaded them. The Path to those Files are E:\Users\Nicolai\AppData\Local\Android with Android being the SDK Folder. However, when I try to build the Game in the Editor, I get this error thrown at me: CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct. E:/Users/Nicolai/AppData/Local/Android\tools\bin\avdmanager.bat list target -c I tried several things including installing older Versions, resulting in Unity wanting a newer Version and reinstalling the SDK multiple times. I am in desperate need of help for this problem, as I want to test my APP on an Android Phone. I am using Unity 2018.1.6f1 Personal Edition (64Bit) And I have a Project Set up for Android, exporting an empty project wont work as well. Android SDK Tools is on version 26.1.1 Android SDK Platform-Tools is on version 28.0.0 Android SDK Build-Tools doesnt have a Version Field, but is named 28, so I suppose it's version 28. Android Emulator is on version 27.2.9 Intel x86 Emulator Accelerator is on version 7.2.0 Support Repository: Android Support Repository is on 47.0.0 Google Repository is on version 58 I don't know if you need this information, but that is everything I got installed in Android Studios SDK Tools Tab with the Version. Thanks for your help in advance, if you need any more information just ask and I will promptly provide it.

Unity Required Api level 23 , please help me

$
0
0
hi everyone! today I have a problem which is ("Unity Required API Level 23") this happened when I went to build my project to android so please please please please please help me because tomorrow my birthday and I don't want to become sad :( please. ![alt text][1] [1]: /storage/temp/120978-436.png

Unity Required Api Level 23 Please Help me!

$
0
0
hi everyone! today I have a problem which is ("Unity Required API Level 23") this happened when I went to build my project to android so please please please please please help me because tomorrow my birthday and I don't want to become sad :( please. ![alt text][1] [1]: /storage/temp/121036-436.png

Android SDK for Unity

$
0
0
When I want to build my project for android, pop out a message to update Android SDK such that SDK Build Tool 24.0.3 < 26.X.X as given in screenshot ![alt text][1]
1. So when i click highest installed it continues. So i want to remove the pop out message.
2. Today i have click update sdk it take so much time and data but stuck at some point. I want to resolve either this. OR
3. Someone suggest me that find some updated android SDK build tool, copy version directory (24.0.3) from /build-tools and paste in your own /build-tools. My question is that will it work or not? If worked please send me latest versions of that as I have up to 24.0.3.
4. I have also tried SDK Manager.exe to update, it completed but does not affect my build error.

Hope you understand my questions and answers (Waiting for your answer).
Thanks [1]: /storage/temp/124741-1st.jpg

Unity tries wrong Android "run device"

$
0
0
I have an Android phone I use for my development. In adb I get the following two devices. Regardless of what I choose in "run device" settings in "build settings" (I can choose default, my pixel device or "all compatible devices"), I get the following error in console: CommandInvokationFailure: Unable to retrieve device properties. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details. /home/hossein/Android/Sdk/platform-tools/adb -s "emulator-5554" shell getprop It seems that Unity tries the emulator and I have no way of telling it to try my physical device. I'm on Ubuntu with Unity 2018.2.7f1.

Android: How to resolve "Build properties not found for package" errors?

$
0
0
I have a variety of android plugins installed and when building for Android I get these two errors and I don't have any information about what's causing it or how to fix these? The app seems to run fine regardless of the errors, but I fear that devices running these older SDK Platform versions might fail to run my app. Build properties not found for package Android SDK Platform 15, rev 5 Build properties not found for package Android SDK Platform 19, rev 4

CommandInvokationFailure: Gradle build failed.

$
0
0
**I am gonna make Vuforia project but I've got error. I have tried many things since two days, please help me! My setup is Unity 2018.2.10f1, jdk1.8.0_191 and Android SDK-Tools 26.1.1** ... **CommandInvokationFailure: Gradle build failed.** C:/Program Files/Java/jdk1.8.0_191\bin\java.exe -classpath "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.2.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx2048m" "assembleRelease" . stderr[ . FAILURE: Build failed with an exception. . What went wrong: A problem occurred configuring root project 'gradleOut'. > No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android . Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. . Get more help at https://help.gradle.org . BUILD FAILED in 17s ] stdout[ Starting a Gradle Daemon, 3 incompatible Daemons could not be reused, use --status for details Observed package id 'tools' in inconsistent location 'C:\Android_SDK\toolsx' (Expected 'C:\Android_SDK\tools') Already observed package id 'tools' in 'C:\Android_SDK\tools'. Skipping duplicate at 'C:\Android_SDK\toolsx' Observed package id 'tools' in inconsistent location 'C:\Android_SDK\toolsxx' (Expected 'C:\Android_SDK\tools') Already observed package id 'tools' in 'C:\Android_SDK\tools'. Skipping duplicate at 'C:\Android_SDK\toolsxx' Observed package id 'tools' in inconsistent location 'C:\Android_SDK\toolsx' (Expected 'C:\Android_SDK\tools') Already observed package id 'tools' in 'C:\Android_SDK\tools'. Skipping duplicate at 'C:\Android_SDK\toolsx' Observed package id 'tools' in inconsistent location 'C:\Android_SDK\toolsxx' (Expected 'C:\Android_SDK\tools') Already observed package id 'tools' in 'C:\Android_SDK\tools'. Skipping duplicate at 'C:\Android_SDK\toolsxx' ] exit code: 1 UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1 progress, System.String error) UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1 progress) Rethrow as GradleInvokationException: Gradle build failed UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1 progress) UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) ![alt text][1]a [1]: /storage/temp/126396-untitled.png

CommandInvokationFailure: Failed to build apk.

$
0
0
**I am gonna make Vuforia project but I've got error. I have tried many things since two days, please help me! My setup is Unity 2018.2.10f1, jdk1.8.0_191 and Android SDK-Tools 26.1.1** ... **CommandInvokationFailure: Failed to build apk.** ... C:/Program Files/Java/jdk1.8.0_191\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/Android_SDK\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" - stderr[ Error: Duplicate file(s) in apk: 'E:\1. WORKSHOP SEACC\AUGUMENTED REALITY\KARYA\Bismillah\Temp\StagingArea\android-libraries\VuforiaWrapper\libs' ] stdout[ ] exit code: 255 UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg, Int32 memoryMB) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) ![alt text][1] [1]: /storage/temp/126397-untitled.png

Android APK installation results in Failure [INSTALL_FAILED_MEDIA_UNAVAILABLE]

$
0
0
Failure [INSTALL_FAILED_MEDIA_UNAVAILABLE] rm failed for -f, No such file or directory How do I fix? I even set the install location to "Automatic" and it still produces this error. My bundle version number is 101 and version code is 1345.200. I think I'm using good settings, could a certain sound file or sprite mess this up?

SDK and JDK reset with every start

$
0
0
For some reason, unity isn't saving The SDK and JDK locations and i have to set them again every time i start unity. Does anyone know why this happens? Is there a solution to set them once and for all? ![SDK JDK fields empty][1] [1]: /storage/temp/132640-screenshot-from-2019-02-06-19-30-30.png

Daydream Instant Preview not streaming

$
0
0
Attempting to use Daydream Instant Preview with Unity but the editor will not stream to the phone when PLAY is pressed on Unity (using USB to Computer). Tried the following recommended things and nothing starts streaming to phone: - Reinstall Daydream Instant Preview using APK provided by Google VR SDK - Restarting phone, computer and Unity - Updating Android SDK's and Andriod Studio - Changing project settings and changing them back to recommend settings from documentation (VSync to off, changing the package name, changing minimum API level, removing Daydream from XR settings and adding it back, enabling/disabling ARCore Support, enabling/disabling Gvr InstantPreviewMain and EditorEmulator) ----------------------------------------------------------- Extra info: - Unity: 2018.3.7f1 - Google VR SDK for Unity: 1.190.1 - Device manufacturer, model, and O/S: Pixel 3 XL, Android 9

Unity not finding android sdk

$
0
0
Hi, My unity i showing a problem to find the android SDK, I followed this [GUIDE](https://docs.unity3d.com/Manual/android-sdksetup.html) on how to install the SDK using the command line tool, installed the platform and the build tools for the SDK 26, 27 and 28 and the platform tools. But when i try to select the folder __ _ c:"myFolder"\platforms\"allSdkVersions" _ __, all of then show the same error message, saying that no SDK could be found. Any solution? Thanks.
Viewing all 190 articles
Browse latest View live