PojavLauncherTeam / PojavLauncher

A Minecraft: Java Edition Launcher for Android and iOS based on Boardwalk. This repository contains source code for Android platform.
GNU Lesser General Public License v3.0
6.79k stars 1.28k forks source link

i need help,it looks like no game versions files. #4498

Closed YeAhzjx closed 1 year ago

YeAhzjx commented 1 year ago

Describe the bug

After downloading, delete the default game configuration, manually create a new configuration for the game, but can not select the version, the default is not selected so that it selects the latest, the result of starting the game will report an error: java.lang.RuntimeException: java.io.FileNotFoundException: /storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/versions/latest-release/latest-release.json: open failed: ENOENT (No such file or directory) at net.kdt.pojavlaunch.Tools.getVersionInfo(Tools.java:753) at net.kdt.pojavlaunch.tasks.AsyncMinecraftDownloader.downloadGame(AsyncMinecraftDownloader.java:72) at net.kdt.pojavlaunch.tasks.AsyncMinecraftDownloader.lambda$new$0$AsyncMinecraftDownloader(AsyncMinecraftDownloader.java:53) at net.kdt.pojavlaunch.tasks.-$$Lambda$AsyncMinecraftDownloader$PJ58CinqkXoL4aS1zc2TGQSS9zk.run(Unknown Source:10) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637) at java.lang.Thread.run(Thread.java:1012) Caused by: java.io.FileNotFoundException: /storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/versions/latest-release/latest-release.json: open failed: ENOENT (No such file or directory) at libcore.io.IoBridge.open(IoBridge.java:574) at java.io.FileInputStream.(FileInputStream.java:160) at java.io.FileInputStream.(FileInputStream.java:115) at net.kdt.pojavlaunch.Tools.read(Tools.java:781) at net.kdt.pojavlaunch.Tools.getVersionInfo(Tools.java:667) ... 6 more Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory) at libcore.io.Linux.open(Native Method) at libcore.io.ForwardingOs.open(ForwardingOs.java:563) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274) at libcore.io.ForwardingOs.open(ForwardingOs.java:563) at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8273) at libcore.io.IoBridge.open(IoBridge.java:560) ... 10 more ,I opened the game's folder and I found that there was no 'version' file in it

The log file and images/videos

I didn't see the log file at all. Hidden files are visible

Steps To Reproduce

1. Start the software, 2. Configure ignore Liu Haiping and restart the software, 3. The button size is 120%, 4. Default game start Start the virtual mouse, 5. Delete the default game configuration and create a new game configuration, 6. The version can not be selected directly do not choose to let it default, 7. Add to give 7G running memory, 8. Create my Games folder and create the quarantine version folder inside, 9. Select the default java, 10. Launch the game

Expected Behavior

I want the game to start

Platform

- Device model: redmi12 turbo
- CPU architecture: The second generation Xiaolong 7+ mobile platform has eight cores up to 2.91GHz
- Android version: 13
- PojavLauncher version: google play version

Anything else?

No response

GaucovyAero commented 1 year ago

reinstall pojav, you should be able to select it manually

YeAhzjx commented 1 year ago

reinstall pojav, you should be able to select it manually

I reinstalled it once, with the same results

YeAhzjx commented 1 year ago

reinstall pojav, you should be able to select it manually

I reinstalled it once, with the same results

This time I re-downloaded it on github, and the result was the same:

微信图片_20230821150617

Mathias-Boulay commented 1 year ago

Please share a video of the steps you're taking, so we can understand the issue

lzfddkd commented 1 year ago

It's not xiaolong 7+,ti's Snapdradon 7+

lzfddkd commented 1 year ago

骁龙原英文名叫Snapdradon,不要用xiaolong代替

YeAhzjx commented 1 year ago

解决了。科学上网解决的,还有,下次我会叫Snapdradon的QAQ

lzfddkd commented 1 year ago

解决了。科学上网解决的,还有,下次我会叫Snapdradon的QAQ

下次提交issue的时候记得把PojavLauncher设置里的强制使用英文打开来并重启启动器,方便PojavLauncher团队判断

lzfddkd commented 1 year ago

这个issue可以close了

lzfddkd commented 1 year ago

解决了。科学上网解决的,还有,下次我会叫Snapdradon的QAQ

点击Close issue来close这个issue。

lzfddkd commented 1 year ago

@GaucovyAero Please remove needs fixing lable,it's not PojavLauncher's bug,it's network's problem