Comments (15)
Oh thats a new one.
Can you connect via adb shell to the avd?
which terminal is it? Cmd?
from rootavd.
from rootavd.
I stopped bypassed the test adb function to see if it actually worked
no dice
from rootavd.
Yeah just using windows terminal
from rootavd.
Was able to shutdown the devices through shell
from rootavd.
Looks pretty good to me. And did it worked now?
from rootavd.
It doesn't seem so, no magisk app is installed even on reboot. Doesnt look like it finishes the script based on your gif
from rootavd.
do you have a full log? As text and not just as screenshots.
from rootavd.
where would the log save?
from rootavd.
Just copy & paste the command window output
from rootavd.
Same to me, after run the command , the emulator closed
./rootAVD.sh ~/Library/Android/sdk/system-images/android-31/google_apis_playstore/arm64-v8a/ramdisk.img
I manually start the emulator again, then the emulator was stuck in a black screen forever, and did not proceed to startup the device. I check "adb devices" and "adb shell", it show the device is offline
from rootavd.
Same to me, after run the command , the emulator closed
./rootAVD.sh ~/Library/Android/sdk/system-images/android-31/google_apis_playstore/arm64-v8a/ramdisk.imgI manually start the emulator again, then the emulator was stuck in a black screen forever, and did not proceed to startup the device. I check "adb devices" and "adb shell", it show the device is offline
Please provide the complete log
from rootavd.
Same to me, after run the command , the emulator closed ./rootAVD.sh ~/Library/Android/sdk/system-images/android-31/google_apis_playstore/arm64-v8a/ramdisk.img
I manually start the emulator again, then the emulator was stuck in a black screen forever, and did not proceed to startup the device. I check "adb devices" and "adb shell", it show the device is offline
i have encountered the similar problem, maybe you can try my approach.
first, use cmd shell to start the emulator, and the cmd is " ~/Library/Android/sdk/emulator/emulator -avd Pixel_2_API_30 -writable-system"
second, if the emulator runs ok, then you can try to launch emulator by android studio
from rootavd.
@mthp1999 @wubaojie @sdlee3 @newbit1 Try add arg -no-snapshot to emulator. Like this:
emulator -no-snapshot -avd Pixel_5_API_30
from rootavd.
Same issue. I remove @echo off
from the script for debugging and this is the output:
rootAVD-master>REM Set Folders and FileNames
rootAVD-master>echo [*] Set Directorys
[*] Set Directorys
rootAVD-master>set AVDPATHWITHRDFFILE=InstallApps
rootAVD-master>for /F "delims=" %i in ("InstallApps") do (
set AVDPATH=%~dpi
set RDFFILE=%~nxi
)
rootAVD-master>(
set AVDPATH=rootAVD-master\
set RDFFILE=InstallApps
)
rootAVD-master>REM If we can CD into the ramdisk.img, it is not a file!
rootAVD-master>cd InstallApps 1>nul 2>&1
rootAVD-master>if "1" == "0" (call :ShowHelpText )
rootAVD-master>if 1 == 0 (call :restore_backups )
rootAVD-master>call :TestADB
rootAVD-master>SetLocal EnableDelayedExpansion
rootAVD-master>set HOME=C:\Users\Rick Lambrechts\AppData\Local\
rootAVD-master>set ADB_DIR_W=Android\Sdk\platform-tools\
rootAVD-master>set ADB_DIR=""
rootAVD-master>set ADB_EX=""
rootAVD-master>echo [-] Test if ADB SHELL is working
[-] Test if ADB SHELL is working
rootAVD-master>set ADBWORKS=
rootAVD-master>adb shell -n echo true 1>tmpFile 2>&1
rootAVD-master>set /P ADBWORKS= 0<tmpFile
rootAVD-master>del tmpFile
rootAVD-master> ) else (
rootAVD-master>
from rootavd.
Related Issues (20)
- Is Android 11 supported? HOT 8
- Execute binaries through adb shell HOT 8
- Stuck on windows HOT 1
- Polestar 2 AVD support? HOT 12
- Not working properly in Mac M2 HOT 2
- How to installation Masgisk 26.1
- Cannot run EnvFixTask HOT 7
- Cannot run `adb shell -t su` permission denied HOT 5
- Different errors in Windows PowerShell and CMD HOT 4
- `NOT in an emulator shell` error despite `adb shell` command working HOT 5
- Feature Request: Environmental Variables file HOT 2
- Can I use %ANDROID_HOME% instead of %LOCALAPPDATA%/Android ? HOT 2
- Script does not work as intended (Windows 10) HOT 12
- Update for Magisk 26.1 for Shamiko-v0.7.3-174-release.zip HOT 1
- Root AVD with playstore installed HOT 1
- Magisk won't install/root on AVD API 34 (Android 14) HOT 8
- New Install google_apis location HOT 13
- android 10 HOT 22
- Images not found (Android Emulator via Visual Studio 2022) HOT 6
- Error: file C:\Users\pathtoramdisk.img not found HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rootavd.