Skip to content
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

Android Build Issue with Build 2025.3714 #774

Open
quikclose opened this issue Feb 2, 2025 · 0 comments
Open

Android Build Issue with Build 2025.3714 #774

quikclose opened this issue Feb 2, 2025 · 0 comments

Comments

@quikclose
Copy link

Hi, I get the following error attempting to build for Android on a new laptop running Windows 11 Home. Right out the box, so I downloaded the latest version of Solar2d ( 2025.3714 ) and I get the following gradle error. Not sure how to solve it. Any ideas? Thanks

Platforms involved
Building on: Windows 11
Building for: Android

Attach your build.settings

settings =
{
orientation =
{
-- Supported values for orientation:
-- portrait, portraitUpsideDown, landscapeLeft, landscapeRight
default = "portrait",
supported = { "portrait", "portraitUpsideDown" },
},

splashScreen =
{
android = { enable = false },
ios = { enable = false, },
},

--
-- Android section
--
android =
{
	usesPermissions =
	{
		"android.permission.INTERNET",
  "android.permission.WRITE_EXTERNAL_STORAGE",
  "android.permission.RECORD_AUDIO"
	},
supportsScreens =
{
  smallScreens = false,
  normalScreens = false,
  largeScreens = true,
  xlargeScreens = true,
},
},

--
-- iOS section
--
iphone =
{
	xcassets = "Images.xcassets",
	plist =
	{
		UIStatusBarHidden = false,
		UILaunchStoryboardName = "LaunchScreen",
		ITSAppUsesNonExemptEncryption = false,
		CFBundleLocalizations = {"en"},
  NSPhotoLibraryUsageDescription = "This app would like to access the photo library.",
  NSPhotoLibraryAddUsageDescription = "This app would like to access the photo library.",
  NSMicrophoneUsageDescription = "This app would like to access the microphone.",
	},
},

--
-- Project section
--
excludeFiles =
{
	-- Exclude unnecessary files for each platform
	all = { "Icon.png", "Icon-*dpi.png", "Images.xcassets", },
	android = { "LaunchScreen.storyboardc", },
},

}

Full build log
Testing credentials for 'C:\Program Files (x86)\Corona Labs\Corona\Resources\debug.keystore':
Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
jar signed.

Warning:
The signer's certificate is self-signed.

The timestamp will expire on 2031-11-09.
Excluding specified files from build:
excluding: LaunchScreen.storyboardc
excluding: Icon.png
excluding: Icon-*dpi.png
excluding: Images.xcassets
Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
Error while fetching plugins:

FAILURE: Build failed with an exception.

  • Where:
    Build file 'C:\Users\quikc\AppData\Local\Temp\Corona Labs\CLtmpa09340\template\app\build.gradle.kts' line: 574

  • What went wrong:
    Error while fetching plugins:

  • 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 8s
Android build failed (1) after 11 seconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant