Feeds

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

Google Play crypto glitch means extra work for coders

Top 5 reasons to deploy VMware with Tegile

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." ®

Remote control for virtualized desktops

More from The Register

next story
Euro Parliament VOTES to BREAK UP GOOGLE. Er, OK then
It CANNA do it, captain.They DON'T have the POWER!
Download alert: Nearly ALL top 100 Android, iOS paid apps hacked
Attack of the Clones? Yeah, but much, much scarier – report
NSA SOURCE CODE LEAK: Information slurp tools to appear online
Now you can run your own intelligence agency
Post-Microsoft, post-PC programming: The portable REVOLUTION
Code jockeys: count up and grab your fabulous tablets
Twitter App Graph exposes smartphone spyware feature
You don't want everyone to compile app lists from your fondleware? BAD LUCK
Microsoft adds video offering to Office 365. Oh NOES, you'll need Adobe Flash
Lovely presentations... but not on your Flash-hating mobe
prev story

Whitepapers

10 ways wire data helps conquer IT complexity
IT teams can automatically detect problems across the IT environment, spot data theft, select unique pieces of transaction payloads to send to a data source, and more.
Getting started with customer-focused identity management
Learn why identity is a fundamental requirement to digital growth, and how without it there is no way to identify and engage customers in a meaningful way.
How to determine if cloud backup is right for your servers
Two key factors, technical feasibility and TCO economics, that backup and IT operations managers should consider when assessing cloud backup.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Mitigating web security risk with SSL certificates
Web-based systems are essential tools for running business processes and delivering services to customers.