corona icon indicating copy to clipboard operation
corona copied to clipboard

Linux version doesn't prompt for Android keystore password, won't build

Open DestyNova opened this issue 2 years ago • 1 comments

Self help steps before reporting the issue:

  • [X] Check Solar2D forums for a solution
  • [X] If Android: make sure Java8 is installed and reported when running java -version and javac -version if not, download and install Java 8

Description

The Linux version UI doesn't allow a password to be entered when selecting a keystore file for Android builds. Whatever I do, clicking "Build" produces an alert box that says "The keystore password is invalid" with buttons "View" and "Done" which just dismiss the dialog.

Also, if I click the "Save to folder" field, it becomes linked with the content of the keystore field (perhaps the wrong index was used in the dialog box).

Platforms involved Building on: Linux, Pop!_OS 21.10, x64 Building for: Android

Attach your build.settings

settings =
{
	orientation =
	{
		default = "portrait",
		supported = { "portrait", },
	},

	android =
	{
		usesPermissions =
		{
			"android.permission.INTERNET",
		},
	},

	iphone =
	{
		xcassets = "Images.xcassets",
		plist =
		{
			UIStatusBarHidden = false,
			UILaunchStoryboardName = "LaunchScreen",
		},
	},

	plugins =
	{

	},

	excludeFiles =
	{
		all = { "Icon.png", "Icon-*dpi.png", "Images.xcassets", },
		android = { "LaunchScreen.storyboardc", },
	},
}

Full build log Enable full build log: On macOS:

defaults write com.coronalabs.Corona_Simulator debugBuildProcess  -int 5

On Windows:

reg ADD "HKEY_CURRENT_USER\Software\Ansca Corona\Corona Simulator\Preferences" /f /v debugBuildProcess /d 5

Before the build clean console and then copy log between backticks below

Sorry, how do I do this in Linux? I searched but didn't find an example of how to do this. All I'm seeing in the simulator console is:

WARNING: Using custom daily build from user preferences: false - 68934a3e9455fa72420237eb05902327 (userPreferenceCustomDailyBuild)The selected keystore is either invalid or an incorrect password was entered
The selected keystore is either invalid or an incorrect password was entered
The selected keystore is either invalid or an incorrect password was entered
The selected keystore is either invalid or an incorrect password was entered
WARNING: Cannot create path for resource file 'AppSettings.lua (/snap/solar2d/6/usr/local/bin/Solar2D/Resources/AppSettings.lua)'. File does not exist.

DestyNova avatar Apr 08 '22 23:04 DestyNova

The Linux version UI doesn't allow a password to be entered when selecting a keystore file for Android builds https://github.com/coronalabs/corona/pull/375 ^^^^ Hoping this pull request will fix the issue.

Sorry, how do I do this in Linux? I searched but didn't find an example of how to do this.

[image: image.png] Added "Debug Build Process" checkbox in the Preferences window.

On Sat, Apr 9, 2022 at 2:29 AM Oisín @.***> wrote:

Self help steps before reporting the issue:

Description

The Linux version UI doesn't allow a password to be entered when selecting a keystore file for Android builds. Whatever I do, clicking "Build" produces an alert box that says "The keystore password is invalid" with buttons "View" and "Done" which just dismiss the dialog.

Also, if I click the "Save to folder" field, it becomes linked with the content of the keystore field (perhaps the wrong index was used in the dialog box).

Platforms involved Building on: Linux, Pop!_OS 21.10, x64 Building for: Android

Attach your build.settings

settings = { orientation = { default = "portrait", supported = { "portrait", }, },

android = { usesPermissions = { "android.permission.INTERNET", }, },

iphone = { xcassets = "Images.xcassets", plist = { UIStatusBarHidden = false, UILaunchStoryboardName = "LaunchScreen", }, },

plugins = {

},

excludeFiles = { all = { "Icon.png", "Icon-*dpi.png", "Images.xcassets", }, android = { "LaunchScreen.storyboardc", }, }, }

Full build log Enable full build log: On macOS:

defaults write com.coronalabs.Corona_Simulator debugBuildProcess -int 5

On Windows:

reg ADD "HKEY_CURRENT_USER\Software\Ansca Corona\Corona Simulator\Preferences" /f /v debugBuildProcess /d 5

Before the build clean console and then copy log between backticks below

Sorry, how do I do this in Linux? I searched but didn't find an example of how to do this. All I'm seeing in the simulator console is:

WARNING: Using custom daily build from user preferences: false - 68934a3e9455fa72420237eb05902327 (userPreferenceCustomDailyBuild)The selected keystore is either invalid or an incorrect password was entered The selected keystore is either invalid or an incorrect password was entered The selected keystore is either invalid or an incorrect password was entered The selected keystore is either invalid or an incorrect password was entered WARNING: Cannot create path for resource file 'AppSettings.lua (/snap/solar2d/6/usr/local/bin/Solar2D/Resources/AppSettings.lua)'. File does not exist.

— Reply to this email directly, view it on GitHub https://github.com/coronalabs/corona/issues/377, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABI7FJG74ZMGYIVWTNZCQETVEC6NZANCNFSM5S54CJRQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

bakeinflash avatar Apr 10 '22 16:04 bakeinflash