Menu

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.

Show posts Menu

Messages - Mareike

#1
Hi

I tried to install my APK (see previous messages) on Android Devices. Both devices I have tested install the software without an error but when starting I receive the error message:

"AGSNative
Loading game failed with error:
Main game file not found or could not be opened.
Filename: ac2game.dta..

The game files may be incomplete, corrupt or from unsupported version of AGS."

I tried it also with a new generated template game. With the same result.

Therefore, I expect it is either another compatibility problem or I need to copy another file or need another software I haven't found in the documentary.

Gerät 1: Androidversion 13 TKQ1.221013.002
Gerät 2: Android-Version 7.0

Best
Mareike
#2
 :smiley:
Thanks a lot! It was the AGS version that was not compatible. Now I am also using Build 3.6.1.8 and it works.

To complete it the Android Studio Version:

Android Studio Giraffe | 2022.3.1
Build #AI-223.8836.35.2231.10406996, built on June 29, 2023
Runtime version: 17.0.6+0-b2043.56-10027231 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 8
Registry:
    external.system.auto.import.disabled=true
    ide.text.editor.with.preview.show.floating.toolbar=false

#3
Hi,
it is great that you can build your AGS game for Android, unfortunatelly it looks like I have a compatibility problem somewhere. I checked the compatibility table for Java and Gradle but I still cannot compile my game for android.
It would be really great if someone has a hint for solving this issue.

Best
Mareike


-----------------------------------------------------------------
My Output:
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build

FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file 'C:\Users\xxx\Documents\PaC\xxx\Compiled\Android\mygame\settings.gradle' (C:\Users\xxx\.gradle\caches\7.5\scripts\2so6athllb9um441ymy4k1vxd).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 64

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 4s
Drücken Sie eine beliebige Taste . . .



--------------------------------------------------------------------------------
My Versions:
java version "20.0.2" 2023-07-18
Java(TM) SE Runtime Environment (build 20.0.2+9-78)
Java HotSpot(TM) 64-Bit Server VM (build 20.0.2+9-78, mixed mode, sharing)


------------------------------------------------------------
Gradle 8.1.1
------------------------------------------------------------

Build time:   2023-04-21 12:31:26 UTC
Revision:     1cf537a851c635c364a4214885f8b9798051175b

Kotlin:       1.8.10
Groovy:       3.0.15
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          20.0.2 (Oracle Corporation 20.0.2+9-78)
OS:           Windows 10 10.0 amd64

--------------------------------------------------------------
AGS Editor .NET (Build 3.6.0.48)
v3.6.0, May 2023
Copyright © 2006-2011 Chris Jones and 2011-2023 others.
See the Licenses folder for copyrights of used libraries.
DockPanel Suite © 2007 Weifen Luo
irrKlang © 2001-2018 Nikolaus Gebhardt / Ambiera
Magick.NET © 2013-2019 Dirk Lemstra
Newtonsoft JSON.NET © 2007 James Newton-King
Scintilla © 1998-2003 Neil Hodgson
System: Windows 10
SMF spam blocked by CleanTalk