Feeds

YES, you CAN install paid-for apps on Android Wear – if devs rebuild them

Google Play crypto glitch means extra work for coders

5 things you didn’t know about cloud backup

Google has published a workaround that allows paid-for apps to be installed on Android Wear devices, but it's hardly straightforward and it's nothing device owners can do themselves.

Early adopters who purchased LG G or Samsung Gear Live smartwatches have been stymied by a glitch in the Google Play store's app encryption scheme that makes it impossible to load store-bought apps onto their devices.

The Chocolate Factory has now acknowledged that the problem exists, and has proposed a solution. Unfortunately, however, the fix isn't a matter of Android Wear owners hacking their devices. Rather, it requires Android Wear app developers to repackage their apps and resubmit them to Google Play.

The difficulty stems from the fact that the installer on the Android Wear device can't access the assets/ directory of a paid app, which is where the APK file that's meant to be installed on the wearable is usually located.

Google's solution is for app developers to move the wearable APK file to a different directory, res/raw/, where the wearable installer can get at it. If they then upload the fixed versions of their apps to the store, Android Wear owners will be able to download and install them.

Doing that isn't as easy as it sounds, however. Android developers usually build and package their apps using Gradle, an automated build toolkit. But the "wearApp" Gradle rule that devs use to package Android Wear apps is set up to put the wearable APK file in the assets/ directory, which only works for free apps that don't use Google Play's crypto locking system.

That means building paid apps for Android Wear now requires some extra legwork from developers, including shuffling files around by hand and even hand-coding some XML properties files to let the app know where to find the wearable APK.

Google says a future update to the Android software development kit (SDK) will include a revamped version of the Android Gradle tooling that supports packaging paid wearable apps in the res/raw/ directory.

"We will be also be updating the documentation to reflect the above workaround," the online ad-slinger helpfully explains. "We're working to make this easier for you in the future, and we apologize for the inconvenience." ®

Boost IT visibility and business value

More from The Register

next story
The Return of BSOD: Does ANYONE trust Microsoft patches?
Sysadmins, you're either fighting fires or seen as incompetents now
Linux turns 23 and Linus Torvalds celebrates as only he can
No, not with swearing, but by controlling the release cycle
China hopes home-grown OS will oust Microsoft
Doesn't much like Apple or Google, either
Sin COS to tan Windows? Chinese operating system to debut in autumn – report
Development alliance working on desktop, mobe software
Apple promises to lift Curse of the Drained iPhone 5 Battery
Have you tried turning it off and...? Never mind, here's a replacement
Eat up Martha! Microsoft slings handwriting recog into OneNote on Android
Freehand input on non-Windows kit for the first time
Linux kernel devs made to finger their dongles before contributing code
Two-factor auth enabled for Kernel.org repositories
This is how I set about making a fortune with my own startup
Would you leave your well-paid job to chase your dream?
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Endpoint data privacy in the cloud is easier than you think
Innovations in encryption and storage resolve issues of data privacy and key requirements for companies to look for in a solution.
Scale data protection with your virtual environment
To scale at the rate of virtualization growth, data protection solutions need to adopt new capabilities and simplify current features.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?