Coder Social home page Coder Social logo

Comments (13)

newbit1 avatar newbit1 commented on September 27, 2024

is there any apk file in the Apps folder?
Do you execute the script via cmd shell or power shell?

from rootavd.

TheOriginalBob0705 avatar TheOriginalBob0705 commented on September 27, 2024

cmd shell
there is no apk file in my Apps folder, it only has a .gitkeep file

from rootavd.

TheOriginalBob0705 avatar TheOriginalBob0705 commented on September 27, 2024

powershell provides a similar output with an additional line:

[*] Set Directorys
[-] Test if ADB SHELL is working
else was unexpected at this time.

from rootavd.

newbit1 avatar newbit1 commented on September 27, 2024

CMD shell is the right one, so far so good.
If you don't have any apk in that folder, why do you want to run the InstallApps command?

This feature is only needed, if you have a bunch of apks that you don't want to install manually.

The script is mostly used with the path to the ramdisk file, thats it. Sometimes, if there was a blank space
in your path, the script crashed. But this was fixed some time ago.

from rootavd.

TheOriginalBob0705 avatar TheOriginalBob0705 commented on September 27, 2024

my apologies, I included the wrong query. i have edited the original post with the correct command

the output remains the same

from rootavd.

newbit1 avatar newbit1 commented on September 27, 2024

Where is your ADB installed?

from rootavd.

TheOriginalBob0705 avatar TheOriginalBob0705 commented on September 27, 2024

my adb is installed in C:\Android\platform-tools

i placed your script in C:\Android\

I have added adb to my PATH variables

from rootavd.

newbit1 avatar newbit1 commented on September 27, 2024

Ok thanks, I need to replicate that situation, to see if I can reproduce your issue.
I am sorry for your inconveniences.

from rootavd.

newbit1 avatar newbit1 commented on September 27, 2024

I am sorry, I can't reproduce your issue.
I've moved my adb like yours to c: android, and in the cmd shell,
set PATH=C:\Android\platform-tools;%PATH%
adb shell works, and if I run the script, it starts right away.

Is it possible, that you have more than one adb installed?
Check the closed issues, I can recall someone else had a very similar issue and fixed it.

from rootavd.

TheOriginalBob0705 avatar TheOriginalBob0705 commented on September 27, 2024

Thanks for the help, I managed to fix the issue by copying a ramdisk.img file over to my folder from somebody else who managed to get the script working for them.

For anyone interested, you both have to use the exact same virtual device for this to work, both the phone and the system image have to be identical

from rootavd.

newbit1 avatar newbit1 commented on September 27, 2024

What phone image? The avd has only one ramdisk.img there is phone involved.

from rootavd.

TheOriginalBob0705 avatar TheOriginalBob0705 commented on September 27, 2024

In Android Studio, you can pick both the model of the emulated device as well as the image that's installed on it

For instance, my testing environment is the Pixel 4a with Android 13 installed on it

from rootavd.

newbit1 avatar newbit1 commented on September 27, 2024

Ah ok, you mean the picture of your frame. Got it.

from rootavd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.