Coder Social home page Coder Social logo

Comments (11)

okwasniewski avatar okwasniewski commented on May 17, 2024 4

Hey @migueldaipre, @fansilva1991

I've released new version (v0.2.1) that should solve those issues, here is the link: https://github.com/okwasniewski/MiniSim/releases/tag/v0.2.1

Let me know if this fixed your issues 🤞

from minisim.

okwasniewski avatar okwasniewski commented on May 17, 2024 1

Hey @fansilva1991!

Thanks for opening the issue, can you provide which shell are you using (bash/zsh)?

Please also provide output of command echo $ANDROID_HOME

And depending on your shell, make sure that following lines are in your ~/.zprofile or ~/.zshrc (if you are using bash, then ~/.bash_profile or ~/.bashrc) config file:

export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/platform-tools 

Then click Clear cache in Preferences and restart MiniSim.

from minisim.

okwasniewski avatar okwasniewski commented on May 17, 2024 1

@hansemannn Thanks for confirming 👍

I agree that it might be a bit harder for newbies but new solution is a lot more flexible. Previously someone with a custom setup (different location of Android Studio) wouldn't be able to use the app.

I will add info about the PATH to README.

from minisim.

okwasniewski avatar okwasniewski commented on May 17, 2024 1

Thanks! Closing this

from minisim.

fansilva1991 avatar fansilva1991 commented on May 17, 2024 1

@okwasniewski it works! Thanks.

from minisim.

hansemannn avatar hansemannn commented on May 17, 2024

+1, was working great before. Updating the PATH helped, but may make it harder for newbies to onboard.

from minisim.

fansilva1991 avatar fansilva1991 commented on May 17, 2024

@okwasniewski, my path is set correctly

❯ echo $ANDROID_HOME
/Users/felipenunes/Library/Android/sdk

But even with it, it still displays the error message. Would you happen to have any tips about how I can try to troubleshoot it?

Again, thanks for all the support

from minisim.

okwasniewski avatar okwasniewski commented on May 17, 2024

@fansilva1991

Can you make sure that the ANDROID_HOME is exported from one of these files: ~/.zprofile or ~/.zshrc (if you are using bash, then ~/.bash_profile or ~/.bashrc). Since you may have it exported from somewhere else and that's why you have it in path in your terminal but MiniSim doesn't see it.

Also please run echo $SHELL to figure out which shell you are using.

Im following React Native docs and their export naming to make it more seamless, you can check it here.

from minisim.

migueldaipre avatar migueldaipre commented on May 17, 2024

@okwasniewski +1, follow my configs.

image
image

I cleared the cache, restarted the Mini Sim and my mac.
Thanks for the support!

from minisim.

migueldaipre avatar migueldaipre commented on May 17, 2024

Hey @okwasniewski Its works fine.

from minisim.

oertels avatar oertels commented on May 17, 2024

Hi, the problem persists on my machine (macOS 13.1):

> echo $ANDROID_HOME
/Users/so/Library/Android/sdk

> ll /Users/so/Library/Android/sdk
total 8
drwxr-xr-x  18 so  staff   576B 16 Dez  2022 .
drwxr-xr-x   3 so  staff    96B  6 Jan  2020 ..
drwxr-xr-x   2 so  staff    64B  7 Jan  2022 .downloadIntermediates
-rw-r--r--@  1 so  staff    16B 19 Jun 13:45 .knownPackages
drwxr-xr-x   2 so  staff    64B 19 Jun 13:39 .temp
drwxr-xr-x  11 so  staff   352B 19 Jun 13:39 build-tools
drwxr-xr-x   4 so  staff   128B 30 Mär 10:19 cmake
drwxr-xr-x  20 so  staff   640B  7 Jan  2022 emulator
drwxr-xr-x   3 so  staff    96B  6 Jan  2020 extras
drwxr-xr-x   4 so  staff   128B 26 Mär  2021 licenses
drwxr-xr-x   4 so  staff   128B 30 Mär 10:19 ndk
drwxr-xr-x   3 so  staff    96B  6 Jan  2020 patcher
drwxr-xr-x  19 so  staff   608B  7 Jan  2022 platform-tools
drwxr-xr-x   7 so  staff   224B 30 Mär 10:31 platforms
drwxr-xr-x  32 so  staff   1,0K 10 Apr  2021 skins
drwxr-xr-x   3 so  staff    96B  6 Jan  2020 sources
drwxr-xr-x   4 so  staff   128B 15 Feb  2021 system-images
drwxr-xr-x  14 so  staff   448B  6 Jan  2020 tools

Any idea what could be the problem? Thank you!

from minisim.

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.