Due to a bug in the packaging of Android OS "L", dependencies which reference Okio need to be repackaged.
For more information see square/okhttp#967
Usage
Due to a bug in the packaging of Android OS "L", dependencies which reference Okio need to be repackaged.
For more information see square/okhttp#967
Usage
| NOTE: Easier way is the X86 way, described on https://www.genymotion.com/help/desktop/faq/#google-play-services | |
| Download the following ZIPs: | |
| ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links) | |
| Download the correct GApps for your Android version: | |
| Google Apps for Android 6.0 (https://www.androidfilehost.com/?fid=24052804347835438 - benzo-gapps-M-20151011-signed-chroma-r3.zip) | |
| Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161891406 - gapps-L-4-21-15.zip) | |
| Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip) |
| package com.example.pathshaderdrawable; | |
| import android.graphics.Bitmap; | |
| import android.graphics.Canvas; | |
| import android.graphics.Paint; | |
| import android.graphics.Path; | |
| import android.graphics.Rect; | |
| public class CircularDrawable extends PathDrawable { |
| /** | |
| * A {@link HttpRequest.ConnectionFactory connection factory} which uses OkHttp. | |
| * <p/> | |
| * Call {@link HttpRequest#setConnectionFactory(HttpRequest.ConnectionFactory)} with an instance of | |
| * this class to enable. | |
| */ | |
| public class OkConnectionFactory implements HttpRequest.ConnectionFactory { | |
| private final OkHttpClient client; | |
| public OkConnectionFactory() { |
| #!/bin/bash | |
| A_IMPORT="import com.amazon.geo.maps" | |
| G_IMPORT="import com.google.android.maps" | |
| A_VIEW="com.amazon.geo.maps.MapView" | |
| G_VIEW="com.google.android.maps.MapView" | |
| if [ "$1" = "a" ]; then | |
| FR=$G_IMPORT |