corona
corona copied to clipboard
Linux version doesn't prompt for Android keystore password, won't build
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
andjavac -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.
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:
- Check Solar2D forums https://forums.solar2d.com/ for a solution
- If Android: make sure Java8 is installed and reported when running java -version and javac -version if not, download and install Java 8 https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
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: @.***>