-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reports an error required minSdkVersion >= 26 #8
Comments
Hello,
Can you post more of this error (screenshot, full log)? I can't imagine any
of this, I have friends using Kotlin jars on much older projects.
Thanks
|
Also, can you compile your own? If so, try our android branch. It removes some code that only desktop java has. If that works, let me know and I'll bring it up to master |
Sure, will redo the setup and post the logs here soon |
Please find below the log while trying to build the project:
|
Also, in repeated build runs, the classname keeps changing like to this: or
|
Funnily enough, I fixed the issue you were having about 5 minutes before you posted this. I'll link a working (may still be issues) build in a few minutes. |
@elect86 paging you on the best way to do this: remove uno-sdk and add in the necessary functions, or remove LWJGL from uno (don't think that can happen). In the mean time i'll see of I can do anything on my personal branch. |
Thanks for your quick reply. Great that it is fixed :) I see that you have posted a new release with the source code files. Though I will wait for you to upload the assimp-all.jar so that I can consume it directly. |
Uhm ok. Anyway, as far as I recall, the problem with Android was that there is no See also this previous issue isn't that valid anymore? |
https://github.com/Sylvyrfysh/assimp/blob/master/assimp.jar give that a shot |
@elect86 Yes, the readfile function was not supporting an input stream so I replaced the obj files from assets directory temporarily to a test directory for local testing, but this issue is somewhat different from that. (Update: When I use the assimp jar from 2016 pre-release, it builds successfully and then I hit this issue. There is something going wrong in between then) @Sylvyrfysh In the jar you uploaded I could not find the AiScene and Importer classes as the packages are organized differently than the other jars. Can you please look into it? Also are there any previously released working jars supporting .obj with textures that I can try meanwhile? |
@gone-phishing can you compile your own? I can later today, but the branch at https://github.com/kotlin-graphics/assimp/tree/no_nio should be working if you can roll your own |
Thanks for finding that, apparently it did not include the actual code in the compilation, only the dependencies. I have fixed that, and confirmed that the updated jar at https://github.com/Sylvyrfysh/assimp/blob/master/assimp.jar has all the necessary files. |
No, we are back to square one with the current jar. With the above-mentioned jar I am getting the same issue I reported earlier and adding the logs below:
|
Download can be found at the same link, LWJGL has been removed and no errors were reported in my testing. Your mileage may vary. |
Are you using methods: invoke or invokeExact in the source code somewhere as that might be the root cause of the problem as they require minSdkVersion 26 and above? |
No, according to my search invoke only occurs in the test suite which I do not think I included. Can you post the error you're getting? |
Here, I have posted the exception along with my build.gradle file:
https://stackoverflow.com/q/48571066/2804992
…On 02-Feb-2018 02:13, "Nick Johnson" ***@***.***> wrote:
No, according to my search invoke only occurs in the test suite which I do
not think I included. Can you post the error you're getting?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFhQ6AXYBpnl2R9Xj8rZcLGKJ8AceY6wks5tQiHogaJpZM4RvzSS>
.
|
so, which one was of the three options? |
the first one i.e. ASM version being used by another jar had a version mismatch with the one required for this project. Regardless, @Sylvyrfysh @elect86 thanks for your patient support in helping me debug this issue, learnt a lot of things in between |
Hi,
I was trying to work with assimp-all.jar on an android project supporting API 21 and above. When I added this jar and tried to build the project, I get an error saying required mindSdkVersion >= 26. Since it was not mentioned on the README page, I am trying to confirm the same here. Also, if true, are there any plans for backward compatibility?
The text was updated successfully, but these errors were encountered: