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.83k stars 1.28k forks source link

Way to run versions higher than 1.8 on Android 9 #1

Closed artdeell closed 4 years ago

artdeell commented 4 years ago

When i started investigating this problem, i found something interesting when started multidoj outside of an application. It was utputting something about wrong class file versions. I browsed Google, and figured out: to convert code, compiled for Javas newer than Java 6, Multidoj is a rewrite for dx ver. 1.7, and this DX version refuses to convert Java 8 classes. So, I found DX version 1.16, and tried to convert with it. 1.16 converted all files successfuly.

So, you need to rewrite dx 1.16 instead of dx 1.7. 1.16 dx is attached to this issue. dx.zip

khanhduytran0 commented 4 years ago

My own test didn't work too, although I added libraries backport javax.sound.midi, javax.sound.sampled

khanhduytran0 commented 4 years ago

The problem is at OpenAL_SLES couldn't be loaded EDIT: Increase dex ref limit takes no effect since it used to make multiple dex. Already downloaded assets.

artdeell commented 4 years ago

So, what about OpenSLES fixes?

khanhduytran0 commented 4 years ago

OpenSLES is a part of system. The only fix is modify OpenAL_soft. Used by Boardwalk, https://github.com/apportable/openal-soft I can't compile it. It has missing header files.

artdeell commented 4 years ago

Hm. It generated libopenal.so in arm64 but make crached with error make: *** No rule to make targetE:/android-ndk-r20b/build//../sources/cxx-stl/system/OpenAL/Alc/android.c', needed by obj/local/armeabi-v7a/objs/openal/OpenAL/Alc/android.o'. Stop.

abdo-A028 commented 4 years ago

How can I download itSent from my Samsung Galaxy smartphone. -------- Original message --------From: artdeell notifications@github.com Date: 24/03/2020 13:05 (GMT+02:00) To: khanhduytran0/PojavLauncher PojavLauncher@noreply.github.com Cc: abdo-A028 abdulrahman.adel2006@gmail.com, Mention mention@noreply.github.com Subject: Re: [khanhduytran0/PojavLauncher] Way to run versions higher than 1.8 on Android 9 (#1) Did you downloaded assests? Also, you may try to increase DEX limit.

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/khanhduytran0/PojavLauncher/issues/1#issuecomment-603174589", "url": "https://github.com/khanhduytran0/PojavLauncher/issues/1#issuecomment-603174589", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

abdo-A028 commented 4 years ago

That's badSent from my Samsung Galaxy smartphone. -------- Original message --------From: khanhduytran0 notifications@github.com Date: 24/03/2020 13:09 (GMT+02:00) To: khanhduytran0/PojavLauncher PojavLauncher@noreply.github.com Cc: abdo-A028 abdulrahman.adel2006@gmail.com, Mention mention@noreply.github.com Subject: Re: [khanhduytran0/PojavLauncher] Way to run versions higher than 1.8 on Android 9 (#1) My own test didn't work too, although I added libraries backport javax.sound.midi, javax.sound.sampled

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/khanhduytran0/PojavLauncher/issues/1#issuecomment-603176464", "url": "https://github.com/khanhduytran0/PojavLauncher/issues/1#issuecomment-603176464", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

artdeell commented 4 years ago

Looks like make script forces library to build for armeabi-v7a

artdeell commented 4 years ago

Also, now launcher refuses to re-download assets if I delete all objects.

artdeell commented 4 years ago

And Log output buuton doesn't show logs.

abdo-A028 commented 4 years ago

When will you put sounds on Pojavlauncher Sent from my Samsung Galaxy smartphone.

khanhduytran0 commented 4 years ago

@artdeell Log output was disabled due to not responding when:

@abdo-A028 Sound wasn't worked.

abdo-A028 commented 4 years ago

Test sound doesn't work.So how can you fix it?Sent from my Samsung Galaxy smartphone. -------- Original message --------From: khanhduytran0 notifications@github.com Date: 24/03/2020 15:12 (GMT+02:00) To: khanhduytran0/PojavLauncher PojavLauncher@noreply.github.com Cc: abdo-A028 abdulrahman.adel2006@gmail.com, Mention mention@noreply.github.com Subject: Re: [khanhduytran0/PojavLauncher] Way to run versions higher than 1.8 on Android 9 (#1) @artdeell Log output was disabled due to not responding when:

Nothing show in the screen. If move mouse or touch will got App Not Responding.

Solutions:

Delay 5~10s before Mojang logo display. Enable/Disable log output

@abdo-A028 Sound wasn't worked.

Tried many libraries to patch without success. Fix might not be in next preview.

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/khanhduytran0/PojavLauncher/issues/1#issuecomment-603229936", "url": "https://github.com/khanhduytran0/PojavLauncher/issues/1#issuecomment-603229936", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

khanhduytran0 commented 4 years ago

Also, now launcher refuses to re-download assets if I delete all objects.

Because you didn't delete assets/downloaded/[version].downloaded

abdo-A028 commented 4 years ago

That's why it didn't workBecause I didn't delete the assets/download/versionSent from my Samsung Galaxy smartphone. -------- Original message --------From: khanhduytran0 notifications@github.com Date: 25/03/2020 11:50 (GMT+02:00) To: khanhduytran0/PojavLauncher PojavLauncher@noreply.github.com Cc: abdo-A028 abdulrahman.adel2006@gmail.com, Mention mention@noreply.github.com Subject: Re: [khanhduytran0/PojavLauncher] Way to run versions higher than 1.8 on Android 9 (#1)

Also, now launcher refuses to re-download assets if I delete all objects.

Because you didn't delete assets/downloaded/[version].downloaded

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/khanhduytran0/PojavLauncher/issues/1#issuecomment-603745283", "url": "https://github.com/khanhduytran0/PojavLauncher/issues/1#issuecomment-603745283", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]