Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MrPlow

Pages: [1] 2 3 ... 116
1
You can use mine with a beard on it.  :puke:
:D  - That works too!

2
Ian, can I used your Avatar if I put a a Wig & Beard on it?  :good:

3
Okay, can ignore for now - it started working on next build but for a while build was not working...strange.

4
Keeps popping up message to setup build for Win32.
Build option is greyed out in proj settings section.
?

5
@MrPlow,

Thank you for your support.
Regarding the commented out code.
Where is it in?

SDLActivity.java file under org.libsdl.app folder under java folder

I also gave someone on this forum, my version of my working JNI folder - as they were having errors creating with the newer default app > jni folder files...


6
Off Topic / Re: Covid
« on: 2022-May-18 »
Man!!! So sorry to hear - I have been away from my gamedev for a while - just getting back now - just checking the forum and notice this...Hope all is getting better...

Hopefully you will be 100% again soon!!


7
Hi, i also managed to create an Android aab bundle with minsdk 23 and targetsdk 30

Wouldn't work but found a solution...

to edit the SDLActivity code - comment out the return command like below and add return library;

Code: (glbasic) [Select]
protected String getMainSharedObject() {
        String library;
        String[] libraries = SDLActivity.mSingleton.getLibraries();
        if (libraries.length > 0) {
            library = "lib" + libraries[libraries.length - 1] + ".so";

        } else {
            library = "libmain.so";
        }
        return library;
        //return getContext().getApplicationInfo().nativeLibraryDir + "/" + library;

    }

8
GLBasic - en / Re: Save a TYPE array object
« on: 2022-May-16 »
Thanks Hardyx

That looks like a possible solution for me.... :good:

9
There are many things to check for app to build...

- androidmanifest - correct and format is correct
- sdk, ndk and gradle settings libraries etc.
- dependancies

when I have time i will try replicate your test...to see if i get errors too...

10
try remove that androidx dependancy - i dont use it at all?
i have it commented out...

11
My output window shows:

NDK Resolution Outcome: Project settings: Gradle model version=5.1.1, NDK version=21.0.6113669

12
also...
example of part of my app config...

android {
    compileSdkVersion 30
    defaultConfig {
        if (buildAsApplication) {
            // GLBASIC_USER_NOTE applicationId
            // Here, GLBasic will put your company and app name.
            // The string for the launcher icon is in
            // app/src/main/res/values/strings.xml
          //  applicationId "com.gazzappergames.centiplode.centipedeshooter"
            applicationId "com.gazzapper.pillarfight.shooter"
        }
        // GLBASIC_USER_NOTE versionCode, versionNumber, target SDK
        minSdkVersion 23
        targetSdkVersion 30

        // version to detect when installing. Must be incresed for each app-store build.
        versionCode 1

        // version as shown to the user
        versionName "1.01"

        externalNativeBuild {
            ndkBuild {
                arguments "APP_PLATFORM=android-23"
                abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
            }
        }
...
etc etc.


Remember to keep gradle 3.4.1
at least mine is still on 3.4.1

13
API 31
Android SDK platform 31
Android SDK platform 30

been a while - but i managed to create apk just now

Make sure you asset icons are present for the res> folder

Create using AS - new asset options...

14
I myself have this setup:

C:\Android\android-sdk

SDK 31.0.0
Android platform tools 29.0.6
SDK Tools 26.1.1

Says I dont have NDK installed - but not 100%

15
Is this a new error - have you managed to create apk already before now?


Pages: [1] 2 3 ... 116