Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

anaryx-plugin

13
Posts
12
Followers
1
Following
A member registered Aug 26, 2025 · View creator page →

Creator of

Recent community posts

(1 edit)

Mkasih kak,output file  berada di Document/ag builder/namagame-versi.apk, untuk kedepannya saya sedang mengupdate custom SDK dan custom lokasi output serta mengganti tampilan ui, terima kasih sebelumnya🙏

Unfortunately, a native progress bar isn't possible because Gradle doesn't expose task status in real-time. A practical alternative: numerical stages or a step-by-step log. If I wanted a real progress bar, I'd have to create a custom wrapper that tracks each task, but that's quite complex and bug-prone, so I'm sticking with the stable approach. I'll be testing version 1.3 first, as I need feedback for 1.2. If the 1.2 update is less buggy, I'll try using a progress bar.

Sorry, I can't add a progress bar, because Gradle can't inject progress, so at the beginning of version 1.0 it was fake progress, even though the build failed, the progress still ran, I don't want to repeat it again, so maybe I will forget the progress bar and simplify the build in a step by step number process like in screenshot number 3, thank you for your suggestion

good idea, maybe in the next update I will add it thank you, if the engine is safe and runs on many devices I will update the major update overhaul version and maybe this update will be finished in February, thank you in advance, if now the engine can run perfectly, maybe I will not update quickly, because I feel sorry for people who just downloaded it, maybe they think there is an update after just downloading it, are there any additional suggestions? so that I can also add it in the next update (if your suggestion is possible I will add it), as a thank you I will add your name in the credit menu as a tester, what's your name bro?

Hello friends, thank you for your confirmation, it means that so far there has been an extreme improvement from the tool, it is because of your support and feedback, just forget the red code is just a warning because I use the code from the old api version and it does not interfere with the apk build, for the resolution problem you can edit it in the rpg maker system, change the resolution to 1280x720 that is the average ratio of the device, maybe some devices will still experience black because of different ratios, for now I am thinking about making the game full without a black screen because this is not a build problem but a problem with the rpg maker engine that locks the game size from the start, so I have to try experimenting with injecting or maybe making a plugin so that the rpg core can be injected when the game is loaded according to each cellphone screen, but this is still an experiment so don't wait too long, for the time being maybe you can resize it with the default system, and for the icon, actually ag apk builder has used a smart way, namely taking the icon in the www/icon/icon.png folder, you can change your icon here, but if it is too complicated later I will add 2 features, auto inject icon and custom icon. Thank you for your feedback and suggestions, I hope this helps, don't hesitate to ask further questions, I'm always open to discussion,

Hello friends, I'm here to ask something, has this method helped you? and has your problem been resolved, because I stopped the update in the future before the core engine looks stable first, I need input to improve the performance of this tool, I will accept suggestions and criticism from you guys, don't worry. and I try if there are other bugs I will update between 1-2 days, if everything is safe I will continue the update to the advance build, because without criticism and suggestions from you this tool is just trash, thank you for supporting me by downloading and trying this tool,

Hello, thank you in advance. I really regret this bug; it might occur in MainActivity.java, because the latest WebView version is very sensitive and its security is very strict. I have already replaced the download file but still with the same version because this is just a small bug. If you are lazy to download the file because the size is large, you can modify MainActivity.java yourself.

Here is the file:

\AG APK Builder-win32-x64\resources\base_module\app\src\main\java\com\xxx\yyy\MainActivity.java

Replace all of this:

package com.xxx.yyy;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import androidx.appcompat.app.AppCompatActivity;
public class MainActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        WebView webView = new WebView(this);
        WebSettings settings = webView.getSettings();
        // Aktifkan JavaScript
        settings.setJavaScriptEnabled(true);
        // Aktifkan akses file
        settings.setAllowFileAccess(true);
        settings.setDomStorageEnabled(true);
        // Tambahan penting untuk Android 11+ agar WebView bisa load file lokal
        settings.setAllowFileAccessFromFileURLs(true);
        settings.setAllowUniversalAccessFromFileURLs(true);
        // Load index.html dari assets/www
        webView.loadUrl("file:///android_asset/www/index.html");
        setContentView(webView);
    }
}

replace with the legacy version, remember not to duplicate

package com.xxx.yyy; 
import android.os.Bundle;
import android.view.View;
import android.webkit.ConsoleMessage;
import android.webkit.WebChromeClient;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import androidx.appcompat.app.AppCompatActivity;
public class MainActivity extends AppCompatActivity {
    private WebView mWebView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // ===============================
        // ENABLE WEBVIEW DEBUG (ADB)
        // ===============================
        WebView.setWebContentsDebuggingEnabled(true);
        // ===============================
        // INIT WEBVIEW
        // ===============================
        mWebView = new WebView(this);
        // Fullscreen immersive (RPG safe)
        mWebView.setSystemUiVisibility(
                View.SYSTEM_UI_FLAG_LOW_PROFILE
                        | View.SYSTEM_UI_FLAG_FULLSCREEN
                        | View.SYSTEM_UI_FLAG_LAYOUT_STABLE
                        | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY
                        | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
                        | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
        );
        // ===============================
        // WEB SETTINGS (MV & MZ SAFE)
        // ===============================
        WebSettings settings = mWebView.getSettings();
        settings.setJavaScriptEnabled(true);
        settings.setDomStorageEnabled(true);
        settings.setAllowFileAccess(true);
        settings.setAllowContentAccess(true);
        settings.setAllowFileAccessFromFileURLs(true);
        settings.setAllowUniversalAccessFromFileURLs(true);
        settings.setMediaPlaybackRequiresUserGesture(false);
        // Android 9+ (WAJIB untuk local file + JS)
        settings.setMixedContentMode(WebSettings.MIXED_CONTENT_ALWAYS_ALLOW);
        // CACHE FIX (API BARU)
        settings.setCacheMode(WebSettings.LOAD_NO_CACHE);
        // Performance (MZ butuh ini)
        settings.setLoadWithOverviewMode(true);
        settings.setUseWideViewPort(true);
        // ===============================
        // WEBVIEW CLIENT
        // ===============================
        mWebView.setWebViewClient(new WebViewClient());
        // ===============================
        // WEBCHROME CLIENT (JS ERROR LOG)
        // ===============================
        mWebView.setWebChromeClient(new WebChromeClient() {
            @Override
            public boolean onConsoleMessage(ConsoleMessage msg) {
                android.util.Log.e(
                        "WEBVIEW",
                        msg.message()
                                + " [Line " + msg.lineNumber()
                                + "] " + msg.sourceId()
                );
                return true;
            }
        });
        setContentView(mWebView);
        // ===============================
        // LOAD RPG MAKER
        // ===============================
        mWebView.loadUrl("file:///android_asset/www/index.html");
    }
    // ===============================
    // KEEP FULLSCREEN
    // ===============================
    @Override
    public void onWindowFocusChanged(boolean hasFocus) {
        super.onWindowFocusChanged(hasFocus);
        if (hasFocus && mWebView != null) {
            mWebView.setSystemUiVisibility(
                    View.SYSTEM_UI_FLAG_LOW_PROFILE
                            | View.SYSTEM_UI_FLAG_FULLSCREEN
                            | View.SYSTEM_UI_FLAG_LAYOUT_STABLE
                            | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY
                            | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
                            | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
            );
        }
    }
    @Override
    protected void onResume() {
        super.onResume();
        if (mWebView != null) {
            mWebView.onResume();
            mWebView.postDelayed(() -> mWebView.requestFocus(), 200);
        }
    }
    @Override
    protected void onPause() {
        if (mWebView != null) {
            mWebView.onPause();
        }
        super.onPause();
    }
}

I hope this can help fix your problem. If your problem isn't resolved, I would like a screenshot of the error from the built APK. Thank you.

Thank you for your feedback 🙏 To help me identify and reproduce this bug, please include the following information:

1. Device name 

2. Model Android version 

3. RPG Maker version used (MV/MZ, including version if possible) 


This information is very helpful for ensuring compatibility and fixing the issue in future updates. Thank you 🙏

Thanks for the report 🙏

The issue is caused by non-ASCII characters and spaces in the folder path.

Example of problematic path:

E:\RM��������\AG-APK-OFFLINE-VERSION\...

Android Gradle on Windows cannot reliably handle special/corrupted characters (like �) and spaces in paths.

Please move or rename the project to an ASCII-only path and avoid spaces.

If you need separation, use hyphens (-) instead of spaces.

Recommended example:

C:\AG-APK\

D:\RPGMaker\AG-APK-Builder\

After that, rebuild the APK/AAB. This should resolve the issue.

Okay, maybe tomorrow I will upload a truly portable one without internet, because there are some things that need to be changed, thank you for your enthusiasm. 😄

Ahhh, the error is obvious. When building an APK for the first time, make sure you have a stable internet connection. Ag APK Builder requires Gradle to build APKs and AABs. So, if the internet is down or slow, the download and installation will fail. This only applies to the first build.

Thanks for the feedback, perhaps the portable Java in that folder isn't being detected. May I ask what device you're using? And what version of Windows you're running? This will make it easier to fix in future updates. I'll probably update everything with the aab version tomorrow.

Hi bro, to use this, you must fill in all the required details. 

1.Fill in the game name, for example: 

anangame 

2. Fill in the package according to your game, for example: com.anangame

 3.enter your game version. If this is your first game, it's 1.0.0; if this is the second update, you can enter 1.0.1 and so on.

 Then, select the deployed RPG Maker project folder, and the folder must be named www. I haven't released a tutorial yet. Maybe I will release one for a future update.

Hope this helps, if you have any other questions just ask, I'm happy to answer them