I am trying to implement ads into an android app with Millenial Media SDK Version 6. I followed the instructions for integrating with Android at http://docs.millennialmedia.com/android-ad-sdk/inline-ads.html.
But I get an error in adb logcat:
[5]: [LOAD_FAILED] No additional details available.
And the ad doesn't show up.
I found some documentation that mentions the error at http://docs.millennialmedia.com/android-ad-sdk/apidocs/classcom_1_1millennialmedia_1_1_inline_ad_1_1_inline_error_status.html, but there is no description on what this error means.
I was able to figure it out by adding a line:
MMLog.setLogLevel(Log.VERBOSE);
To my code and then using
adb logcat | grep MMSDK
The output explained the problem, and it wasn't hard to understand. Hopefully this answer helps someone else.
Related
I have built a custom ROM that I'm testing on Android Cuttlefish, but when I go to boot the device on the command line using the launch_cvd command, I get the following errors:
[assemble_cvd ... fetcher_config.cpp:212] Could not find file ending in kernel
[assemble_cvd ... fetcher_config.cpp 212] Could not find file ending in initramfs.img
run_cvd returned 23
Subprocess 39641 exited with error code: 23
The main issue seems to lie in the 'error 23' that is returned by run_cvd.
I have tried Google searching and browsing popular forums where Android is built and debugged (XDA Forums, Reddit, StackOverflow, the Android Building Google Group, YouTube, and the web in general). I have also posted on Reddit and will post on the Android Building Google Group. Additionally, I have looked through the source code for Cuttlefish on Google's Git repo to find why the program is outputting the error to no avail.
Lastly, I read through the logfiles of Cuttlefish to see the errors outputted by Cuttlefish. The kernel.log file seems to show the kernel booted successfully (despite the command line saying that it couldn't find the kernel file), I would imagine the same is true of initramfs.img, but I have no way of confirming that initramfs.img was successfully found by launch_cvd. The logcat file is empty (likely because the Cuttlefish failed to boot) and launcher.log simply reproduces the output on the command line (which contain the four errors I listed above).
Could anyone help me troubleshoot this issue? Your help would be greatly appreciated!
Do ps -A | grep crosvm to see if crosvm is running already.
If it is do stop_cvd || true or kill crosvm process with process PID.
When in a call using the Sinch SDK on Android, the following error is thrown:
09-14 17:06:38.223 28454-28484/com.callcasual.callcasual E/sinch-android-rtc﹕ ERROR ; (17: 6:38:237 | 1) 28493; (voe_audio_processing_impl.cc:857): GetEcMetricsStatus: not supported
When searching for that error it appears to be an issue with WebRTC, however I cannot find a way to solve the issue.
This is only indicating that echo metrics are not available, the voice will go through fine during the call anyway. Why WebRTC logs this as an error I'm not sure but we are looking at disabling this in a future release of the Sinch SDK.
I am in the process of learning to create google-app-engine as well as to generate Endpoint client library(for Android) from my app-engine application.
So far I have done the following things
Step 1 : Create Endpoint API : Complete
I have followed the instructions given here(using Maven) and have successfully deployed the app-engine application
https://developers.google.com/appengine/docs/java/endpoints/getstarted/backend/
Step 2 : Generate Client Library(for Android) : Getting ERROR here
I have followed the instruction here
https://developers.google.com/appengine/docs/java/endpoints/gen_clients
I gave the following command from the root directory of my app-engine application
endpoints.sh get-client-lib Greetings
But getting the following error
Dec 16, 2013 5:47:43 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
SEVERE: Received exception processing ./war/WEB-INF/appengine-web.xml
com.google.apphosting.utils.config.AppEngineConfigException: Could not locate /Users/raj/Documents/workspace-maven/helloendpoints/./war/WEB-INF/appengine-web.xml
Give below are my questions,
Is this command execution right?
endpoints.sh get-client-lib Greetings
In the documentation in google ; the second argument is
specified as 'get-client-lib' I have given the same name while
executing the command ; is this right?
As you can see in the error ; it describes ; file -
helloendpoints/./war/WEB-INF/appengine-web.xml could not be located.
The file is indeed available in my application, but is located in a
different directory(indeed in 3 locations) ; What should I do here?
./src/main/webapp/WEB-INF/appengine-web.xml
./target/generated-sources/appengine-endpoints/WEB-INF/appengine-web.xml
./target/helloendpoints-1.0-SNAPSHOT/WEB-INF/appengine-web.xml
The documentation suggest me to edit 'web.xml' file. But the file is
available in 3 location and am not sure which one I have to edit(I
have edited the file in 3rd location)
./src/main/webapp/WEB-INF/web.xml
./target/generated-sources/appengine-endpoints/WEB-INF/web.xml
./target/helloendpoints-1.0-SNAPSHOT/WEB-INF/web.xml
I am finding it quite difficult to resolve this issue ; as there is no other documentation (or) examples available in web other than the Google official documentation.
Would appreciate if some-one can help me to resolve this. Thank you.
you just need to make sure that, you directory exist and that you have the required files into the directories. I can also use the maven goal to make the generation, I read a complete article on the issue here. http://thenavigatorme.blogspot.com/2014/05/how-to-resolve-google-cloud-endpoints.html
Hope this helps.
I updated my Phonegap (Cordova) project from 1.9 to 2.0 and am receiving the following two new errors:
Web Console
JSCallback Error: Request failed. at file file://android_assets/www/js/cordova-2.0.0.js:3698
and
dalvikvm
Could not find class 'android.webkit.WebResourceResponse', referenced from method org.apache.cordova.CordovaWebViewClient.generatedWebResourceResponse
Is this a known problem? I have searched but can't find a solution that addresses these issues. I have tried creating a new blank project and I am getting the same errors. I have also ensured Eclipse and the SDK manager are up to date.
Any help would be much appreciated.
Thank you.
Not sure about the first question as I need to know what you are doing when that log appears.
Regarding the second question:
https://stackoverflow.com/a/12043959/41679
We have been getting a new error in our Android app since beginning of October. We can reproduce it using curl, so have something changed regarding commenting articles through the API?
Here is an example of a call that fails using a valid access_token
curl.exe -k https://graph.facebook.com/comments?ids=http://www.cnn.com
-F "access_token=AAACwlRNQEK4BAPr3ByJBVLN8uwDjDOk1JFhIWNB4xiH..."
-F "message=Test from curl"
And the result is:
{"error":{"message":"An unknown error has occurred.","type":"OAuthException"}}
I really hope someone can help out here as this is causing a lot of negative feedback in the Android Market :-/
This is a bug in the Facebook SDK:
http://developers.facebook.com/bugs/209018432505064