App not Installing / Opening on android
App not Installing / Opening on android
I've create a new app using dx new app_name, set the default to mobile, and every other parameter to false. when dx serve --platform android building successfully and serving but emulator is showing no traces of installed apps. when dx serve --platform ios building successfully and serving expected output produced on screen
Steps To Reproduce
Steps to reproduce the behavior:
- cmd / terminal - dx new app_name
- dx serve --platform android
Expected behavior
App Should open in emulator, Displaying the contents.
Screenshots
Environment:
- Dioxus version: dioxus 0.6.1 (was built without git repository)
- Rust version: rustc 1.83.0 (90b35a623 2024-11-26)
- OS info: MacOS 15.2
- App platform: mobile
Questionnaire
Can you run with --verbose and/or --trace (these can be enabled on the fly as well...) to see what the CLI is selecting?
We fixed a bug recently where we previously silently failed if adb wasn't in your PATH which might be causing this.
I have the same setup. @velocifer-in
It's the same behavior that I have. The app did not open in Android.
After that; I lose this problem in this way:
echo 'export PATH=$PATH:~/Library/Android/sdk/platform-tools' >> ~/.zshrc
source ~/.zshrc
After this app opened on Android.
I suggest, that maybe the dx can detect that if not reached to adb could warn the developer. @jkelleyrtp
@jkelleyrtp @rgunindi Thank you Guys. @jkelleyrtp tried with trace, uploading the trace of command both worked and not worked. @rgunindi This Solution Worked.