I have a problem while running the examples from andengine. The error I'm getting is at this line:
System.loadLibrary( "andenginephysicsbox2dextension" );
Couldn't load andenginephysics2dextension. Find library returned null. I noticed other people kept having this problem but no solution was proposed.
Any help is welcomed! Thanks.
looks like you missed to copy the native libraries. AndEngine is now hosted on github and it is in perfectly active development! ( https://github.com/nicolasgramlich/AndEngine ) more info on what changed in the new GLES2 version here: http://www.andengine.org/forums/announces/andengine-gles2-pre-release-on-december-23rd-t6097.html#p26851
Using AndEngine as a library project is recommended and this will automatically 'copy' the native libraries to your project.
Best Regards,
Nicolas
The error you are getting is because you have to build the Box2D extension yourself. I think there is tutorial how to do it. However i stoped there and downloaded the demos from market. Then eventually switched to libGDX.
Check out this tutorial: http://www.youtube.com/playlist?list=PL6131C7A9DDCF959A
The new way of using andEngine is to include the git repos as libraries (without making any jars)
Related
I find java sdk https://github.com/liqpay/sdk-java for integration liqpay with maven, but my project uses gradle. So I can't use this. How can I solve this problem?
It looks like you posted link to java library, not android version. I think that this version should be used on server side, not client (android) side.
Here is link to right github project:
https://github.com/liqpay/sdk-aos
Here is additional link with description of library that was described in ugly way:
https://www.liqpay.ua/en/doc/aos/
Anyway, maybe you finished your task with LiqPay on android? If so, please, post complete solution of this task
Im building a simple game with Xamarin/Cocossharp in a Shared Project.
I added some physics with Box2D and everything works well on WP8.1.
I import Box2D and i access to the methods and class provided without problem on Windows Phone, but when i try to compile it for Android it says that the type or namespace "Box2D" could not be found. Intellisense doesn't shows any error...
error output
I'm new to game dev and also to VS2015 so it may be something simple but i dont understand what I'm missing here.
Thanks in advance
After struggling around with this i managed to fix this:
As pointed out from Sven-Michael in his answer the solution was to install:
CocosSharp.PCL.Shared
from NuGet. In my case was only necessary to add the reference to the Box2D.DLL file contained into the package.
The reason why it was not working for me it's probably that because of trying to solve this problem I've messed up whit my solution and caused other problems. So I created a new Project from skratch and I've imported my source code again.
Ensure that you have installed CocosSharp.PCL.Shared to your Android project.
E.g. via PM-Comsole:
Install-Package CocosSharp.PCL.Shared
But it can be installed via NuGet, too. This will add box2d and some other dependencies automatically.
First off I'm soooooo frustrated trying to get android.appcompat....gridlayout to work. I've followed lots of tutorials and just keep getting that horrible "android.support.v7.widget.GridLayout failed to instantiate" message. So I'm doing some serious detective work to try and understand everything about the compat libraries.
So like the title asks, what is the difference? I'm building the libs/android-...jar files, adding them to the path, following all the directions on https://developer.android.com/tools/support-library/setup.html
Any insight? Should I just uninstall eclipse and start from scratch to try and do this? I'm working with a test project and nothing is working. I keep getting 1 instantiation errors along with an error saying "a resource already exists on disk 'C:......\android-supp..-gridlayout.settings' and '....prefs'.
Please please any insight. Have spent a long time on this. Any advice is much appreciated.
they both refer to the same "v7 appcompat library" discussed at the android developer site.
You cannot just copy the jar file, as this library has resources that are referred to by your project so it needs to be added as a library project with resources as discussed here.
I'm new to Android and OpenCV, and I try to follow this simple tutorial. I got stuck at implementation of CvViewFrameListener2 interface:
Defines that your activity implements CvViewFrameListener2 interface and fix activity related errors by defining missed methods.
Eclipse shows an error, that the CvFrameListener2 cannot be resolved to a type. It seems like this interface doesn't exist in the library.
I load OpenCV4Android version 2.4.5. Can anybody help me?
I m sure this is late. But I faced this problem too, here my workaround
make sure you have imported the openCV sdk as a library project and linked to your project.
Hope this help
also I used this project from github for face recognition face recognition
and this link to download OpenCV 2.4.6 android sdk
http://sourceforge.net/projects/opencvlibrary/files/opencv-android/2.4.6/OpenCV-2.4.6-android-sdk-r2.zip/download
I just got done creating a game for iOS using cocos2D and am now trying to learn android development and cocos2D using eclipse. I've imported the cocos2D .jar file into the android project, but this has no nice documentation like it does programming in XCode. Could anyone provide me with a simple walkthrough on how to import the cocos2D source code into my android project so that I can view the javadoc while I write code?
I found this on a forum
---Try downloading the source files for Cocos2D and directly adding them to your project (copy the ‘org’ folder into your ‘src’ folder, then press F5 while the src folder is selected in the project explorer), making sure to remove the reference to the jar file. This should resolve any missing functionality, while giving you extra help when typing in Cocos2D code (Eclipse will automatically display the javadoc comments for you).---
I assume this is the source code: https://github.com/ZhouWeikuan/cocos2d/tree/master/cocos2d-android
but I don't see any org folder, and would greatly appreciate a better walkthrough in general.
Could anybody help? I would really like to have the javadoc to help me through the learning curve.
P.S.
I'm new to the forum, and maybe this should be a new question of itself, but the .jar file I'm currently using I downloaded from http://code.google.com/p/cocos2d-android-1/downloads/detail?name=cocos2d-android.jar&can=2&q=
but I seem to be missing some implementation such as CGRectIntersectsRect and CCTMXTiledMap. Is this an outdated .jar that not up to date and something that would be fixed using the source code? I have seen examples of both used for android so I know they are implemented in some revision of cocos2d for android.
Any help or advice would be greatly appreciated.
the org folder you are talking about is included in here
https://github.com/ZhouWeikuan/cocos2d/tree/master/cocos2d-android/src
download the whole project then just copy the org folder to your src folder in eclipse
this is a nice tutorial for starting http://dan.clarke.name/2011/04/how-to-make-a-simple-android-game-with-cocos2d/
it's a good thing to do so you can figure out the small differences between the cocos2d-iphone and cocos2d-android , just following the first tutorial should do it for you