The same issue happens when I start with the Sample Template App – I still get the Application Validation Error / Incorrect splash screen popup in the app.
I also re-authorized my computer to make Enterprise builds, and the same thing happens.
Following a video. This happen at the new corona 3100 version.
I just trying to create a native app using the new corona. Only copy the android template to a folder and create another folder inside named ‘corona’ and copy my main.lua inside. I just added the following to the main.lua to test for native plugging:
local miPluging = require ("plugin.library") local \_nom1 = miPluging.show() -- Display some text local achievementText = display.newText{ text = \_nom1 .. "You saved the planet!\n\nTouch any of the buttons below to share your victory with your friends!", x = display.contentCenterX, y = 60, width = display.contentWidth - 20, height = 0, font = native.systemFont, fontSize = 18, align = "center" }
And at the Android Studio, run the project. After copy to my device, the following is what happen (attached a link to the video)
Thanks for your quick answer. But, I’m turning crazy with this.
Dear, I have copy all the App template to my desktop. After this, open with Android Studio the internal folder android. Then Run the project and install onto my Android device, and the same.
Dear, I must use Android Studio to compile Native Android Apps, isn’t it?
I don’t see any build.gradle outside the internal ‘android’ folder at the ‘App’ folder. If I try to open the App folder with the Android Studio, it say to me that there is any build.gradle there, but it can detect the Android Framework inside the android folder, but I can’t Run if I open the external ‘App’ folder. Need to open the ‘android’ folder.
Can you confirm me that I’m doing well? I can’t see any fine guide to use Native. The Corona guide is not clear dear.
Actually almost all users don’t need to use Android Studio to build Corona apps. Our Corona Simulator works great for building Android apps. You only need to use native extensions if there is a feature that you need that we currently don’t have; if you want to build plugins; if you need off line builds, etc.
What are you doing that you need to use native extensions for?
I’ll see if I can get an engineer to look into this, I’m not sure what’s causing the dialog to popup, it’s clearly building the app and showing the splash screen.
Thanks Rob I’m seeing the exact same results as CesarHernandez.
The template native app project included in the Corona SDK doesn’t work when built with Android Studio (as CesarHernandez has shown above). It shows the Corona splashcreen then the validation error popup, then the app crashes.
I need to add a native android SDK to my app which isn’t available as a Corona plugin, so it’d be great if this feature was working!
I have been using the standard sdk to build android and iOS for about 2 years, and my apps have the Corona Splash (I feel so pleased to use it ;).
After the last present Corona has gave us (Corona Full Native Code), I’ve been very happy, because I need some plugging and native code that are not available at the plugging section. Also I’d love to develop some plugging for Corona to do them available at the plugging section. So, I decided to start with this new way. My surprise was when I show this advertising. I think it is a failure at the check if the Corona splash image has been changed by the user, for obvious protection reason I think.
I plan to buy the splash control, but now I have not bough it. Also I don’t know if I must quit and give the activation again for my Corona installation.
Dear, attached a link where you can take the exact code I have used in the last video. You can see it is the full project template without any modification. Hope this can help dear.
What was the solution for this? I see Cesar mentioned it is solved. I’m getting this same ‘Application Validation Error - Incorrect Splash screen’ when I try to Run the /native/project template/app/android/ project sample. I’m hoping to use in order to build plugins.
I’m doing an android build with Android studio 2.3.3, and using daily build 3117 (since I couldn’t get it to work with daily build 3100).
Thanks for the fast response. You’re right, I forgot to run that setup file (I ran it for my version 3100 but didn’t run it again when I upgraded to 3117). Sorry for the false alarm - my guess is that’s the issue. I haven’t been able to test again yet after running that setup file only because I’m having trouble getting the mac to recognize my android device, but I’m sure that’s a separate issue. I’ll post once I get that working.
By the way, is PC support for Corona Native coming anytime soon or is that just far into the future? I know it’s currently only available for Mac.
And Android 3rd party plugins are not yet supported in Corona Native, is that correct? I saw your post that it was worked out for iOS in Corona 3103 but that we should stay-tuned for Android. Are they expecting an Android fix in the next month or so by any chance? Just trying to plan timing for my next project… I have a current Android app I was hoping to add Corona Native features to, but the app is currently using several plugins such as External Storage, AdMob, etc, etc… so I’m out of luck till then?