Comments (11)
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.
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.
@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.
Thanks! Closing this
from minisim.
@okwasniewski it works! Thanks.
from minisim.
+1, was working great before. Updating the PATH helped, but may make it harder for newbies to onboard.
from minisim.
@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.
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.
@okwasniewski +1, follow my configs.
I cleared the cache, restarted the Mini Sim and my mac.
Thanks for the support!
from minisim.
Hey @okwasniewski Its works fine.
from minisim.
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)
- Issues with Pixel 7 Emulator
- Create Release Github Action
- New feature: add option to open logcat HOT 10
- New feature: Add UI for changing default terminal
- Docs: create a documentation on Custom Commands
- New feature: allow users to change MiniSim icon HOT 1
- New feature: pin emulator to the top of the list HOT 15
- Feature Request: Use it without Android SDK HOT 2
- Issue: error after clicking Minisim menu item HOT 2
- New feature: Search input above emulator list to filter them
- New feature: handle case when there is no space in the MenuBar
- Add SwiftLint to codebase HOT 3
- New feature: delete android emulator HOT 2
- Enable `force_unwrapping` SwiftLint rule
- Enable `implicitly_unwrapped_optional` SwiftLint rule
- Enable `no_magic_numbers` SwiftLint rule HOT 2
- Create GitHub Actions pipeline for SwiftLint
- New feature: add check for updates button to the Main menu
- New feature: Indicate that there is available update
- Feat: Connect device via WiFi HOT 10
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 minisim.