Skip to main content

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

[11:26:26] 100%

[11:26:32] To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.2.1/userguide/gradle_daemon.html#sec:disabling_the_dae... in the Gradle documentation.

[11:26:33] Daemon will be stopped at the end of the build

[11:26:36] FAILURE: Build failed with an exception.

[11:26:36] * Where: Build file 'E:\RM��������\AG-APK-OFFLINE-VERSION\AG-APK-Builder-win32-x64\resources\base_module\app\build.gradle' line: 2 * What went wrong: An exception occurred applying plugin request [id: 'com.android.application'] > Failed to apply plugin 'com.android.internal.application'. >

[11:26:36] Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory. See http://b.android.com/95744 for details. This warning can be disabled by adding the line 'android.overridePathCheck=true' to gradle.properties file in the project directory.

[11:26:36] * Try: > Run with --stacktrace option to get the stack trace. > Run with

[11:26:36] --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at

[11:26:36] https://help.gradle.org. BUILD FAILED in 10s

[11:26:37] Error invoking remote method 'build-apk': Error: CMD FAILED 1

[11:26:44] Signing method: Auto Signed

By Anaryx Plugin

An error occurred while packaging the APK using AG-APK-OFFLINE-VERSION; the option "Step 4 – Open AG APK Builder" was missing.

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.

The APK was successfully packaged, but on the problematic phone, after installation, the game keeps spinning and cannot be launched. Inspection revealed missing assets, which are not present in the game. Using other APK packaging tools, the game can be installed and launched normally.

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 🙏

redmi k60       

Android 13       rpg maker mz 1.91

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,

The latest offline version can be successfully packaged, but there's a red code as shown in the image. What does it mean? The game runs normally after packaging, but the problem is with non-standard resolutions. It only displays in the center of the screen, for example, 960x720. Could you add a game icon selection option?

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,

Can I add a custom output path for the APK file?

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, 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.