Giter Site home page Giter Site logo

google-play-expansion-file's People

Contributors

agwells avatar danikula avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

google-play-expansion-file's Issues

XAPK File Validation Failed.

I have created .obb file using zip command in mac with no compression and check expansion with manually place .obb file on device desired location it work perfectly but when i upload signed APK in alpha testing along with .bbb file expansion and try to check real expansion downloading it will show "XAPK File Validation Failed." Please help to resolve this problem.

Helper class checking file in data folder

The obb files are downloaded in Android/obb folder but helper class is checking API version and checking files in Android/data folder. Is this the correct behaviour??

Google's Source Code

Hi, is this google's source code or did you implement it yourself? because I couldn't find Google's APK expansion library's source code and was wondering where did you find it.
thanks

expansion module minSDK 16

Hi, could you explain why minSDK version for expansion module set to API 16? i have a problem to merge it to my app as it has minSDK 9. thanks

Downloader indicator mismatch

I successfully implement the sample on my work project, but I noticed that the indicators not work as expected.
The file and the downloading size overlaps the limit and the percent too.
The code have a line that for my personal opinion is wrong.

progress.mOverallTotal = progress.mOverallTotal;

/**
 * Sets the state of the various controls based on the progress info object
 * sent from the downloader service.
 */
@Override
public void onDownloadProgress(DownloadProgressInfo progress) {
    mAverageSpeed.setText(getString(R.string.kilobytes_per_second, Helpers.getSpeedString(progress.mCurrentSpeed)));
    mTimeRemaining.setText(getString(R.string.time_remaining, Helpers.getTimeRemaining(progress.mTimeRemaining)));

    progress.mOverallTotal = progress.mOverallTotal;

    mPB.setMax((int) (progress.mOverallTotal >> 8));
    mPB.setProgress((int) (progress.mOverallProgress >> 8));
    mProgressPercent.setText(Long.toString(progress.mOverallProgress * 100 / progress.mOverallTotal) + "%");
    mProgressFraction.setText(Helpers.getDownloadProgressString(progress.mOverallProgress, progress.mOverallTotal));
}

Any suggestions to fix this? @danikula
Thanks in advance ๐Ÿ˜„

Downloading APK Expansion file twice

My apologies for leaving a rather vague bug report. :)

I've been using version 1.3.4 of the library, in this project: https://github.com/agwells/cordova-plugin-xapkreader/tree/cordova-6.3 . (Actually a Cordova plugin, which gets used with a Cordova app.)

It worked fine in testing, but when we deployed it to more devices, some users downloaded the expansion file twice. I haven't been able to replicate this myself, or directly inspect an affected device, but it seems that the expansion file was downloaded by Google Play during app installation, and then downloaded again by my app.

The affected devices all seem to have been Android 6 or 7, and may have included a Samsung Galaxy Note4 and Samsung Galaxy S5. (Although I have a confirmed report that it worked fine on a Samsung Galaxy S6 with Android 6.)

Zip_File?

Can't seem to import zip_file
Here's my gradle

apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.2"
    useLibrary  'org.apache.http.legacy'

    defaultConfig {
        applicationId "tv.thumbwar.mac_technique_expansion"
        minSdkVersion 16
        targetSdkVersion 22
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}
repositories {
    maven { url 'https://dl.bintray.com/alexeydanilov/apk-expansion' }
}
dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:23.2.1'
    compile 'com.danikula.expansion:expansion:1.3.3@aar'
    compile 'com.danikula.expansion:license:1.7.0@aar'
    compile 'com.danikula.expansion:zip:1.2.1@aar'
}

Breakpoint on exception stops on LoggerFactory

In DownloaderClientMarshaller.java, a breakpoint stops at:
private static final Logger LOG = LoggerFactory.getLogger("DownloaderClientMarshaller");

And causes my app to crash.

I've tried adding

    compile 'org.slf4j:slf4j-api:1.7.7'
    compile files('libs/slf4j-simple-1.7.21.jar')

to my build.gradle, but it doesn't alleviate the problem.

I'm using Android Studio 2.1.2, JDK 1.7.0, and using:

    compile 'com.danikula.expansion:expansion:1.3.3@aar'
    compile 'com.danikula.expansion:license:1.7.0@aar'
    compile 'com.danikula.expansion:zip:1.2.1@aar'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.