1: +New Project
2: 2d & name
Error loading launcher://unity/C:/Users/Anthony/AppData/Roaming/Unity/Packages/node_modules/unity-editor-home/dist/index.html?code=XtJlNKsWLanjM10758_ovA002f&locale=en&session_state=bd9b917ebd5c6bf084df3ad683a1cff97dc7a052eb96a563fd8582e3d840f3df.gtFg566JyAy0z0JqGJKNNA019f#/login
3: Edit > Project Settings > Editor > Unity Remote
Device: Set to “Any Android Device”
4: Edit > Project Settings > Player > Other Settings
Android > Package Name: Correctly Set
PC, Mac, Linux > Bundle Identifier: Correctly Set
5: File > Build Settings: Android
6: Build and Run
7: Save .apk
Error: “No Android device found!”
8: After Phone Connected > Retry
Error Building Player: 2 Errors
Anyone that can help? I’ve put this problem on the back burner while creating my app which is close to being done. I’ve looked everywhere I could think online, and found a few people with the same issue and a lot of “same here” replies. Any possible solutions will be much appreciated
It’s hard to tell from the screenshot without getting the actual error message you’re seeing.
What happened when you followed the instructions for this error in the documentation?
https://docs.unity3d.com/Manual/TroubleShootingAndroid.html
Ok finally got mine to work. yay.
The problem for me was the SDK file (I had the same .cs 162 & .cs 83 errors)
First: In Unity : Edit > Preferences > External Tools and click Download. It should take you to:دانلود Android Studio & App Tools - Android Developers
Second: Download Android Studio NOT just the Sdk at the bottom
Third: After Download go back into unity and click File > Build Settings > Player Settings > ‘Other Settings’ (in inspector) and set the ‘Minimal API level’
to the highest setting ‘Android 7.1’Nougat’ (API level 25)’ and click ‘Build & Run’ (Not just ‘Build’)
This build will fail, but the fail pop up box will inform you what your devices API level is.(Mine is 23) Put ‘Minimal API level’ back to the original setting (Min api level) after you’ve learned your API level.
Fourth: Start ‘Android Studio’ and on the bottom right of the main screen click ‘Configure’ > ‘SDK Manager’ > ‘Appearance & Behavior’ tab > ‘System Settings’ tab click ‘Android SDK’
Fifth: Now just Check the box with the ‘API level’ your device is at and click apply to download. (Remember file path)
Sixth: Once the download is complete go back into Unity: Edit > Preferences > External Tools Beside SDK click browse and link it to the SDK folder of your API level download.
(Example: C:\Users\Anthony\AppData\Local\Android\sdk)