Failed to resolve template pack
steelx opened this issue · 1 comments
steelx commented
Describe the bug
When installing on fresh folder I get this error > Failed to resolve template pack
Detected template packs:
[0] bevy
[1] bevy-demo
[2] egui
[3] wgpu
[4] winit
[5] wry
Enter an index for a template pack above.
Template pack (0): 0
Generating base project...
Initialized empty Git repository in /home/ajinkya/Projects/2048-mobile/.git/
error: Failed to resolve template pack
Template pack wasn't found at /home/ajinkya/.cargo-mobile2/templates/apps/bevy
Steps To Reproduce
cargo mobile init
select : bevy [0]
Platform and Versions (please complete the following information):
ajinkya@Shivoham ~/Projects/2048-mobile master cargo mobile doctor
[✔] cargo-mobile v0.11.0
• Contains commits up to "Publish New Versions (#286)\n"
• Installed at "~/.cargo/.cargo-mobile2"
• Zorin OS v17.1
• rustc v1.77.0 (aedd173a2 2024-3-17)
[✔] Android developer tools
• SDK v26.1.1 installed at "~/Android/Sdk"
• NDK v26.2.11394342 installed at "~/Android/Sdk/ndk/26.2.11394342/"
[✔] Connected devices
• No connected devices were found
ajinkya@Shivoham ~/Projects/2048-mobile master cargo mobile init
Generating base project...
error: Failed to resolve template pack
Template pack wasn't found at /home/ajinkya/.cargo-mobile2/templates/apps/bevy
✘ ajinkya@Shivoham ~/Projects/2048-mobile master
Exported variables:
export ANDROID_SDK_ROOT="$HOME/Android/Sdk"
export ANDROID_HOME="$HOME/Android/Sdk"
export ANDROID_AVD_HOME="~/.android/avd"
export NDK_HOME="$ANDROID_HOME/ndk/26.2.11394342/"
export PATH=$PATH:$ANDROID_HOME/emulator/
export PATH=$PATH:$ANDROID_HOME/build-tools/34.0.0/
export PATH=$PATH:$ANDROID_HOME/tools/
export PATH=$PATH:$ANDROID_HOME/platform-tools/
steelx commented
thanks works now