First, describe the cause of the problem. At the beginning of the time wrote a Baidu Map SDK demo to try the function, because the most beginning with the eclipse comes with the AVD to debug, everything is normal.
are capable of normal verification, but because of the repeated restart of the AVD device, the decisive change genymotion this recent very fire simulator to replace debugging. So the problem comes.
For the understanding of genymotion, you self-degree niang, very much.
There may be a bit of a problem when installing. Table later.
Start debugging the normal project code. The results changed the simulator after the decisive, but because the middle in the installation of genymotion when there is a problem, so a little doubt is the eclipse of the environment has been made a problem, helpless. Only to be mad. Finally, decisively re-installed eclipse. A lot of time is wasted on this.
After the final load. And then install the Eclipse plugin for genymotion. This time, and before the same, in the online installation of the moment stuck, not moving.
Is stuck in this interface has been connected, and finally found a long time after finding a solution, that is, the following that the contact all update sites during install to find required software this check to cancel, the speed of the rapid walk, Very fast plug-in installation is complete. Because it is installed in this way, in addition to the installation of ADT Local installation will also have the problem of this stuck, and finally the network and then install the solution. After all, it is very good to use the genymotion after loading. Very fast and very smooth.
But very quickly another problem, is in the debugging Baidu map demo when Sdkinitializer.initialize (Getapplicationcontext ()); This sentence has been an error, regardless of change. Add Androidmanifest.xml inside the permission. Change Getapplicationcontext () for getapplication () and so on are not, and finally found a very long time to find a reliable solution, the reason or the simulator for the ARM architecture support part of the missing.
after we install the genymotion. Deploy the Android application to the above debugging. Console console will error: Installation error:install_failed_cpu_abi_incompatible, this is due to the lack of the system Google Play market and other Google services applications. In fact, due to copyright issues, from the 2.0 version of the genymotion provided by the virtual device has been removed from Google Apps and ARM Library support, so assume that the software downloaded from the virtual machine in the implementation of some must rely on these components to perform a The error or flashback occurs when the PP is
The solution is to download arm's support components directly onto the genymotion created by the virtual device above click OK to restart the normal debugging.
: http://download.csdn.net/detail/zhanghaofor/8765301
On two images. After that, you will be able to debug normally.
Baidu Map SDK Debug Sdkinitializer.initialize (Getapplicationcontext ()) Error