huzongyao / NostalgiaLite

Three game emulators: FC(Nes), GG, GBC for Android
https://github.com/huzongyao/NostalgiaLite
157 stars 53 forks source link

Not working I am trying it for 3 day. #7

Open syed0145 opened 4 years ago

syed0145 commented 4 years ago

When I run the project it's run perfectly but after it this appnes .app not load the .nes file even not showing it in the phone. I have full detail screen short of every step you can understand by viewing the screen short.

in advance: if you upgrade this so do that please what I need for my project is:

  1. A folder where I put one rom only.
  2. Automatic load and start the game automatically.

Let me simple this issue: Current issue in the log file and screenshots. Both PC and Mobile screenshorts you can understand the problem.

rom not loading>>

https://www.dropbox.com/s/3w060ydp40npqgs/1.png?dl=0 https://www.dropbox.com/s/6be3t5gccoymozu/Screenshot_20201102-225202.png?dl=0 https://www.dropbox.com/s/mlrqmsucr1kv310/Screenshot_20201102-225232.png?dl=0 https://www.dropbox.com/s/xlmuxqmoo5iurps/Screenshot_20201102-225256.png?dl=0 https://www.dropbox.com/s/d03g8ymp4c5dibf/Screenshot_20201102-225351.png?dl=0 Log: 2020-11-02 22:31:48.891 22312-22312/nostalgia.appnes I/ostalgia.appne: Late-enabling -Xcheck:jni 2020-11-02 22:31:48.923 22312-22312/nostalgia.appnes E/ostalgia.appne: Unknown bits set in runtime_flags: 0x8000 2020-11-02 22:31:49.120 22312-22312/nostalgia.appnes I/Perf: Connecting to perf service. 2020-11-02 22:31:49.156 22312-22345/nostalgia.appnes E/Perf: Fail to get file list nostalgia.appnes 2020-11-02 22:31:49.156 22312-22345/nostalgia.appnes E/Perf: getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array 2020-11-02 22:31:49.283 22312-22346/nostalgia.appnes I/AdrenoGLES: QUALCOMM build : f2ab992, I401605978b Build Date : 09/28/19 OpenGL ES Shader Compiler Version: EV031.27.05.01 Local Branch : Remote Branch : Remote Branch : Reconstruct Branch : 2020-11-02 22:31:49.283 22312-22346/nostalgia.appnes I/AdrenoGLES: Build Config : S L 8.0.11 AArch64 2020-11-02 22:31:49.298 22312-22346/nostalgia.appnes I/AdrenoGLES: PFP: 0x005ff112, ME: 0x005ff066 2020-11-02 22:31:49.306 22312-22346/nostalgia.appnes W/AdrenoUtils: : Failed to open /sys/class/kgsl/kgsl-3d0/gpu_model 2020-11-02 22:31:49.306 22312-22346/nostalgia.appnes W/AdrenoUtils: : Failed to read chip ID from gpu_model. Fallback to use the GSL path 2020-11-02 22:31:49.301 22312-22312/nostalgia.appnes W/RenderThread: type=1400 audit(0.0:31761): avc: denied { search } for name="kgsl-3d0" dev="sysfs" ino=30123 scontext=u:r:untrusted_app:s0:c23,c257,c512,c768 tcontext=u:object_r:sysfs_kgsl:s0 tclass=dir permissive=0 2020-11-02 22:31:49.333 22312-22346/nostalgia.appnes W/Gralloc3: mapper 3.x is not supported 2020-11-02 22:31:50.049 22312-22312/nostalgia.appnes W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@81f2e3e 2020-11-02 22:31:50.153 22312-22312/nostalgia.appnes W/ostalgia.appne: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed) 2020-11-02 22:31:50.154 22312-22312/nostalgia.appnes W/ostalgia.appne: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed) 2020-11-02 22:31:50.309 22312-22362/nostalgia.appnes I/RomsFinder: start 2020-11-02 22:31:50.314 22312-22362/nostalgia.appnes I/DatabaseHelper: total time:1 2020-11-02 22:31:50.320 22312-22362/nostalgia.appnes I/DatabaseHelper: total time:1 2020-11-02 22:31:50.321 22312-22362/nostalgia.appnes I/RomsFinder: old games 0 2020-11-02 22:31:50.331 22312-22312/nostalgia.appnes W/Thread-4: type=1400 audit(0.0:31762): avc: denied { getattr } for path="/vendor/firmware_mnt" dev="mmcblk0p25" ino=1 scontext=u:r:untrusted_app:s0:c23,c257,c512,c768 tcontext=u:object_r:firmware_file:s0 tclass=dir permissive=0 2020-11-02 22:31:50.342 22312-22362/nostalgia.appnes I/RomsFinder: start searching in file system 2020-11-02 22:31:50.342 22312-22362/nostalgia.appnes I/RomsFinder: found 0 files 2020-11-02 22:31:50.342 22312-22362/nostalgia.appnes I/RomsFinder: compute checksum 2020-11-02 22:31:50.342 22312-22362/nostalgia.appnes I/RomsFinder: found games: 0 2020-11-02 22:31:50.347 22312-22362/nostalgia.appnes I/DatabaseHelper: total time:1 2020-11-02 22:31:50.348 22312-22362/nostalgia.appnes I/RomsFinder: compute checksum- done 2020-11-02 22:31:50.348 22312-22362/nostalgia.appnes I/RomsFinder: time:0 2020-11-02 22:31:50.906 22312-22312/nostalgia.appnes W/ostalgia.appne: Accessing hidden field Landroid/view/inputmethod/InputMethodManager;->mCurRootView:Landroid/view/View; (greylist, reflection, allowed) 2020-11-02 22:31:50.907 22312-22312/nostalgia.appnes W/ostalgia.appne: Accessing hidden field Landroid/view/inputmethod/InputMethodManager;->mServedView:Landroid/view/View; (greylist-max-p, reflection, denied) 2020-11-02 22:31:50.907 22312-22312/nostalgia.appnes W/ostalgia.appne: Accessing hidden field Landroid/view/inputmethod/InputMethodManager;->mNextServedView:Landroid/view/View; (greylist-max-p, reflection, denied) 2020-11-02 22:31:50.963 22312-22327/nostalgia.appnes W/System: A resource failed to call close. "For help me more please upgrade your project for me as I said in the above paragraph." 1. A folder where I put one rom only. 2. Automatic load and start the game automatically.
huzongyao commented 4 years ago

just fixed the permission problem and now I can find roms on sdcard

mlogesh2 commented 3 years ago

just fixed the permission problem and now I can find roms on sdcard

It will work on Android 10 but won't work on Android 11 (API 30+) requestLegacyExternalStorage=true does nothing and you can no longer "opt-out". Refer: https://stackoverflow.com/questions/63364476/requestlegacyexternalstorage-is-not-working-in-android-11-api-30