"VerifyError: Error #1014: Class flash.data::SQLConnection could not be found" after adding SQLite code - air

I'm working on a mobile AIR app using Flash Pro CS6 and FlashDevelop 4.3.0.
After adding SQLite to my app and trying to use the FlashDevelop debugger, FlashDevelop shows this error in the Output panel:
"VerifyError: Error #1014: Class flash.data::SQLConnection could not be found.".
I guess the problem is that I'm mixing several software products here, but everything worked great until the addition on SQLite code. Any suggestions on how to fix this?

Related

Empty Firemonkey app crashes on startup just on Android 7.1, with error NullPointerException on String.contains(CharSequence)

I created a completely new and empty FMX app, tried it using Delphi 10.3.3 and 10.4.0 (patch 3), and when installed on Android 7.1.2 devices (tried two different ones and the official simulator VM), after the splash screen this error message appears:
'java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.contains(java.lang.CharSequence)' on a null object reference'
The error message box flickers quickly (endless loop) and gets slower and slower and after a minute the complete device doesn't react anymore and I can only hard reset it.
I found this thread, so I'm not alone. They say it worked until Delphi 10.1.2. There are also many other similar search results.
Is there any solution? On other Android versions it works well.
Or what can I try to get more information about what causes it?
Do you know a good candidate for an app made with Firemonkey that I could download directly and try out on the device?
Now there is a fix available at quality.embarcadero.com!
Just one line has to be added to 'Androidapi.JNIBridge.pas'. I'm not sure if I should copy it here... Will update this answer when it is released.

Android Emulator is not working properly. The screen goes blur sometimes. Why?

Android emulator has not been working properly for the past 1 month. Can someone please suggest what might be the issue. It works for some time and again becomes as shown above. Even sometimes gets stuck.
I believe thats not a problem of react native here, try reporting this to google team.
ALso you can check by. creating a kotlin starter project, which will be available by clicking new android project in andorid studio and try checking there if the problem persist, if its still there, report the isseu with google team.

App crashes on iOS (Phonegap) if multiple images are captured from camera

I am developing Phonegap Application and my application has scenarios where camera is used very frequently.
In my application I have used custom camera plugin (https://www.npmjs.com/package/cordova-camera-custom) to take picture and use it in my application.
Now when I capture images from this camera 30 times by opening camera and capturing again and again the app goes to crash.
The app just crashes so I am not able to identify the root cause of the crash.
I am not an iOS Programmer though I have tried to check the plugin code but I was not able to find the cause.
You can even check the plugin code on your end if needed.
I have also posted this issue to DevExtreme, the framework which I am using to develop hybrid applications at following link:
https://www.devexpress.com/support/center/Question/Details/T480068
and they found that issue indeed is related to memory shortage. The error message was with bug_type: 298 and fault cause: vm_pageshortage.
Please help me on this, I am struggling on it since long before.
Any Help is greatly appreciated.

"Cannot Adjust current top of stack beyond available views" - Error only when Debug in Chrome is turned Off

I'm having an issue where I get the above error, but only when on my hardware ios device, or emulator debugging is turned off. IF it is on, it works fine in the ios 6 simulator.
Any ideas?
I found the answer.
Interestingly, React-Native seems to use a different version of Javascript when the debugger is on. I was trying to use a ES5 function for formatting text as currency, and it worked fine as long as the debugger (and browser) are on. However, turning this off forces react-native to use their specific javascript core which did not support that javascript function.
I fixed it by using a different function. The error should be more specifc to explain you are doing something illegal.

How to let my application support iOS 4?

I tested my application on 8GB iPod Touch using iOS 4.0(within multitask), it works. But when I change my original source code, and built it in the simulator. The application load, but nothing appear, it all dark. What I should do to solve the problem? I check the console, it didn't show any error msg. Thank u.
In the Simulator, check the Hardware->Device and Hardware->Version settings. Also, try setting a breakpoint in your code and stepping through it to see how far it gets.