I have been working with the streaming media start to finish project,which i got from
http://supportforums.blackberry.com/t5/Java-Development/Streaming-media-Start-to-finish/ta-p/488255 ...
the project has been working fine till i put in a Playcontrol it worked but when i click on play it gives an error,i had to clean the simulator because it gave me this error i.e
Error inside JVM: Access violation reading from 0x0000000C.
On fixing that by cleaning the simulator i ran the streaming media code and it complied perfectly but when i click on the app itself it gives a NullPointerException.
Could this be from the PlayerClass i implemented CustomButtons or from the simulator itself? i can post the PlayerClass Code here if anyone offers to assist
Please i need help!
Thanks
Related
I've run into this situation: the plugin and my code ran perfectly in Android, but in iOS these errors happened:
(Screenshot - my reputation is too low to post images. For easy reading I took the screenshot of VSCode debug console; the errors were the same while run it from Xcode)
https://user-images.githubusercontent.com/10349431/94634472-b2d42e80-0302-11eb-9dc7-fa2956511b82.png
It shows in the debug screenshot above exceptions took place while invoking method startMonitoring, but after I commented related codes it turned into other methods (e.g. stopMonitoring, addRegion, etc).
(BTW, the error messages may be as many as hundreds of lines - in the screenshot above, there were actually 381 lines of total error messages.)
My environment:
MacOS 10.15.7
iOS 12.4.8 (iPad) 13.3 (iPhone)
Android 8.0.0
Xcode 12.0.1 (12A7300)
VSCode 1.49.2
Android Studio 4.0.1 with all SDK after Android 5.1 Lollipop
Thanks for any help!
I got it... In this case, BeaconsPlugin.listenToBeacons should not be placed below addRegion or startMonitoring/stopMonitoring. It should be in the first line of all actions of this plugin in the initPlatformState scope, just like it has been in the example.
Sorry for dumb question.
This error mostly occurs when you try to Hot Reload or Hot Restart after just adding new package to your pubspec.yaml.
Just stop the running project(app) and then freshly run it again. So that the added package(which contains the implementations) also pushed to the device
please check : https://stackoverflow.com/a/60088062/11989529
and this : MissingPluginException while using plugin for flutter
the same problem
After working just fine on both iPhone and iPad for a month, my Xcode 9 app has consistently started crashing causing me the following fatal problem: When I build & run it on an iPhone (simulator or device) Xcode completes loading the app and then crashes too fast for me to copy/paste the error from the debugger. When I run on iPad it works fine leading me to believe this is a result of something related to the split master/detail view.
If I use either an exception breakpoint or an "all C++ exceptions" it will stop at the AppDelegate class and crash if I hit play. If I use only an "all Objective-C exceptions" it will crash as before.
In the debug view hierarchy I get the following errors as well:
Error: Unable to capture view hierarchy.
Details: Log Title: Data source expression execution failure.
Log Details: error evaluating expression “(id)
[[(Class)objc_getClass("DBGTargetHub") sharedHub]
performRequestWithRequestInBase64:#"...
Log Method: -[DBGDataSourceConnectionLibViewDebugger
_executeLLDBExpression:forRequest:onPotentialThread:iteration:]
_block_invoke_2
Method: -[DBGViewDebugger updateDebugHierarchy]_block_invoke_2
I have tested other apps and this issue is unique to the app I am working on. Any ideas or debugging tips for how to proceed? I might just have to redo this whole project again if I can't even find the root cause of this! Appreciate any help.
Quick solution: Reset Simulator Device
I managed to resolve the above issue thanks to some serious digging. First, to resolve the instantaneous crash problem, I set a breakpoint at every line in the app delegate. That allowed me to narrow the error to a memory handling problem. From there I started running the code on one of each device available, and realized the crash only occurred on devices I had used earlier in development. Resetting those devices solved the problem.
The core issue here is that when you clean/rebuild your xcode program, it updates the app code on the device, but not necessarily the data model information. So when I changed my data model by including new data and renaming old data it was not properly updated.
Tearing my hair out trying to get some sound working on my 99% completed game.
I am using libgdx 1.6.1 eclipse juno with the latest robovm plugin for eclipse, I am testing on my iPhone 4s (I have apple dev status).
I am using mp3s but have converted to ogg to test my problem. Unfortunately, The same problem came back so I switched back to MP3's.
The Sound work fine in desktop and android versions based on the same core code.
The error i am getting is the following:
2015-08-03 20:24:51.953 IOSLauncher[2219:286610] OAL Error:
-[OALAudioFile initWithUrl:reduceToMono:]: Could not open url file:///private/var/mobile/Containers/Bundle/Application/AEB5D1A2-B3C7-41A6-9414-351CE311EE47/IOSLauncher.app/sounds/g1.mp3
(error code 0x7768743f: Unknown ext audio error) 2015-08-03
20:24:51.955 IOSLauncher[2219:286610] OAL Error: -[OALSimpleAudio
internalPreloadEffect:reduceToMono:]: Could not load effect
/private/var/mobile/Containers/Bundle/Application/AEB5D1A2-B3C7-41A6-9414-351CE311EE47/IOSLauncher.app/sounds/g1.mp3
Any help would be appreciated and I can provide lots more info if needed!
Thanks
Phil
Ok I have solved my issue by a process of elimination.
In my iOS project the only place iOS picks up the sounds is in the directory /data/sounds
It now works fully with the mp3s I have and no other changes were needed.It works on the iOS simulator and on the real device.
My game project linked the sounds to the android project through assets which clearly does not work in iOS!
I hope this helps someone!
Thanks Phil.
I'm getting the following errors when testing my app on chrome:
GET file:///www/cordova_plugins.js net::ERR_FILE_NOT_FOUND cordova.js:6189
OPTIONS file:///!gap_exec?1397986793096 net::ERR_FILE_NOT_FOUND cordova.js:1034
deviceready has not fired after 5 seconds. cordova.js:5720
Channel not fired: onCordovaConnectionReady cordova.js:5720
Channel not fired: onCordovaInfoReady
People are asking similar questions, but I can't seem to get the error to go away. Currently I'm developing on iOS and I am not using any plugins. Can anyone shed some light on this?
you can not test your application on chrome. cordova.js file will be embedded after building the project. try building and deploying your app on the device or emulator.
xcode has encountered an expected error (0xC011) ‘file
exists/SourceCache/DTDeviceKit/DTDeviceKit-2083/DTDeviceKit/DTDKApplication.m:1474
in the program i am writing some data to a different csv files for testing and was working fine for 2 weeks what do u think ? if the files saved on iPhone is the reason behind this error ? if so, what to do to solve this.
if this is NOT what cause the error then ANY idea what is this error means?
Thanks in advance
I had the same issue, to fix I deleted the app off my device and re-executed in Xcode and I was able to view/download my container with no issues.