Note that there are some explanatory texts on larger screens.

plurals
  1. POZipResourceFile cannot be resolved to a type
    primarykey
    data
    text
    <p>I am trying to rewrite my App to work with APK Expansion files. I have been following the documentation here <a href="http://developer.android.com/google/play/expansion-files.html" rel="nofollow noreferrer">http://developer.android.com/google/play/expansion-files.html</a> . I have downloaded the ...</p> <p><img src="https://i.stack.imgur.com/zfaOg.png" alt="enter image description here"></p> <p>... but when I added this code ...</p> <pre><code>public static Uri getTrackUriFromZipFile ( int track ) { // Get a ZipResourceFile representing a specific expansion file ZipResourceFile expansionFile = new ZipResourceFile(filePathToMyZip); } </code></pre> <p>... I get the error message <code>ZipResourceFile cannot be resolved to a type</code> :( weep weep weep</p> <p>Editted ... Hmmm maybe I have to do something awful like this ...</p> <p>If you're using Eclipse, create a project for each library and add it to your app:</p> <p>Create a new Library Project for the License Verification Library and Downloader Library. For each library: Begin a new Android project. Select Create project from existing source and choose the library from the /extras/google/ directory (market_licensing/ for the License Verification Library or market_apk_expansion/downloader_library/ for the Downloader Library). Specify a Project Name such as "Google Play License Library" and "Google Play Downloader Library" Click Finish. Note: The Downloader Library depends on the License Verification Library. Be sure to add the License Verification Library to the Downloader Library's project properties (same process as steps 2 and 3 below). Right-click the Android project in which you want to use APK expansion files and select Properties. In the Library panel, click Add to select and add each of the libraries to your application.</p> <p><a href="http://developer.android.com/google/play/expansion-files.html#AboutLibraries" rel="nofollow noreferrer">http://developer.android.com/google/play/expansion-files.html#AboutLibraries</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload