BlackBoxing / BlackBox

BlackBox is a virtual engine, it can clone and run virtual application on Android, users don't have to install APK file to run the application on devices. BlackBox control all virtual applications, so you can do anything you want by using BlackBox.
Apache License 2.0
90 stars 49 forks source link

[Other] INSTALL #10

Open DevTrinh opened 1 year ago

DevTrinh commented 1 year ago

i have imported your library into my personal project, there are some problems, i can run a virtual application however, with some applications like facebook, telegram, messenger, ... then i can't run it. I think I'm missing something important. This is my Gradle in Module app: `plugins { id 'com.android.application' }

android { compileSdk 32

defaultConfig {
    applicationId "blackbox"
    minSdk 21
    targetSdkVersion rootProject.ext.targetSdkVersion
    versionCode 12
    versionName "1.0"
    ndk {
        abiFilters "arm64-v8a"
    }
}

buildTypes {
    debug {
        debuggable true
        jniDebuggable true
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
    }

    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
    }
}

buildFeatures {
    viewBinding true
}

dexOptions {
    preDexLibraries false
    maxProcessCount 8
    javaMaxHeapSize "4g"
}

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

aaptOptions {
    cruncherEnabled = false
    useNewCruncher = false
}
testOptions {
    unitTests.returnDefaultValues = true
}
lintOptions {
    checkReleaseBuilds false
    abortOnError false
    warningsAsErrors false
    disable "UnusedResources", 'RestrictedApi'
    textOutput "stdout"
    textReport false
    check 'NewApi', 'InlinedApi'
}

}

tasks.withType(Javadoc) { options.addStringOption('Xdoclint:none', '-quiet') options.addStringOption('encoding', 'UTF-8') options.addStringOption('charSet', 'UTF-8') }

repositories { flatDir { dirs 'libs' } }

dependencies { implementation fileTree(dir: "libs", include: [".jar", ".aar"]) implementation project(':Bcore')

implementation 'androidx.appcompat:appcompat:1.5.0'
implementation 'com.google.android.material:material:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'com.google.android.material:material:1.7.0-beta01'

implementation 'me.relex:circleindicator:2.1.6'
implementation 'de.hdodenhof:circleimageview:3.1.0'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.17'

implementation 'com.github.bumptech.glide:glide:4.13.2'

}`

i imported your version 2.1.0. Look forward to the help

Arc157 commented 1 year ago

Have you enabled Google Play Services?

DevTrinh commented 1 year ago

Have you enabled Google Play Services?

i enabled it in gsmCore, i mean set it. However it still doesn't work