Hi,
I’ve recently got my GearVR and the latest S7 Edge mobile device from Samsung. To the best of my knowledge and despite numerous attempts and approaches, I can’t seem to get the engine to package a simple game as an android app. I’ve tried both ETC2 and ASTC compression formats.
I have all the latest SDKs installed, I’ve placed the oculussig file in the proper folder, I’ve enabled the gearVR plugin, checked all the options in the packaging section, pretty much everything.
The compiler informs me at the end that: “PackagingResults:Error: Error Unknown Error”. Looking upward I see this:
C:\NVPACK\android-sdk-windows ools\ant\build.xml:716: The following error occurred while executing this line:
Packaging (Android (ETC2)): C:\NVPACK\android-sdk-windows ools\ant\build.xml:730: Compile failed; see the compiler error output for details.
Opening up the .xml file the lines 715, 716(the one that fails) and 717 read as follows:
<target name="-compile" depends="-pre-build, -build-setup, -code-gen, -pre-compile">
<do-only-if-manifest-hasCode elseText=“hasCode = false. Skipping…”>
<!-- merge the project’s own classpath and the tested project’s classpath →
Above this the compiler lists a long set of similar errors of the type:
MainFrameActions: Packaging (Android (ETC2)): [javac] G:\Dropbox\Public\geogeo\UE4\GearVR\TemporaryTest\Intermediate\Android\APK\src\com\google\android\vending\expansion\downloader\impl\DownloadNotification.java:159: error: cannot find symbol
MainFrameActions: Packaging (Android (ETC2)): [javac] mNotification.setLatestEventInfo(mContext, mLabel, mCurrentText, mContentIntent);
MainFrameActions: Packaging (Android (ETC2)): [javac] ^
MainFrameActions: Packaging (Android (ETC2)): [javac] symbol: method setLatestEventInfo(Context,CharSequence,String,PendingIntent)
MainFrameActions: Packaging (Android (ETC2)): [javac] location: variable mNotification of type Notification
MainFrameActions: Packaging (Android (ETC2)): [javac] G:\Dropbox\Public\geogeo\UE4\GearVR\TemporaryTest\Intermediate\Android\APK\src\com\android\vending\licensing\APKExpansionPolicy.java:382: error: cannot find symbol
MainFrameActions: Packaging (Android (ETC2)): [javac] List<NameValuePair> extraList = URLEncodedUtils.parse(rawExtras, “UTF-8”);
MainFrameActions: Packaging (Android (ETC2)): [javac] ^
There are many of these with just the line numbering differing. They start with this one, which seems most revealing:
ainFrameActions: Packaging (Android (ETC2)): [buildconfig] Generating BuildConfig class.
MainFrameActions: Packaging (Android (ETC2)): -pre-compile:
MainFrameActions: Packaging (Android (ETC2)): -compile:
MainFrameActions: Packaging (Android (ETC2)): [javac] Compiling 74 source files to G:\Dropbox\Public\geogeo\UE4\GearVR\TemporaryTest\Intermediate\Android\APK\bin\classes
MainFrameActions: Packaging (Android (ETC2)): [javac] G:\Dropbox\Public\geogeo\UE4\GearVR\TemporaryTest\Intermediate\Android\APK\src\com\android\vending\licensing\APKExpansionPolicy.java:20: error: package org.apache.http does not exist
MainFrameActions: Packaging (Android (ETC2)): [javac] import org.apache.http.NameValuePair;
The problem is I’m not a seasoned developer, I’m more an artist than a programmer and I can’t make out what the issue might be. It seems to me that it’s something to do with the prerequisites but I’ve double checked everything. If anyone has an S7 phone and has any clue what this is all about I’d be more than gratefull.
I basically bought the whole kit to deploy on it but it sits useless now (ok… the phone is nice).
Thanks in advance,
George