I have a couple of iOS projects… I figured it would be fun (not so much so far) to try and port them to Droid.
I am building on win7 PC with latest Droid SDK and libs (installed yesterday Dec 3rd) unity 4.6
using Galaxy S3
Running Eclipse,
I have Dev, and script debugging options checked in unity.
I have Kies installed and running.
Never seen a debug print message yet in eclipse
do I need to do something special to enable that, or perhaps run another app ?
I got a small project building and running on S3, by manually copying apk to file system. But without debug prints showing up anywhere…
Do droid apps write to a log on the device I can open with a text editor ? if so, where are they please ?
But my main 2 larger projects, one will build, but crash immediately on device within .5 seconds.
The other wont build, with this manifest error, see below… (even after deleting the manifest file, so unity makes a fresh one…)
any ideas about this build error ?
Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
C:\AndroidSDK\sdk\build-tools\21.1.1\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S “res” -I “C:/AndroidSDK/sdk/platforms/android-21\android.jar” -F bin/resources.ap_
stderr[
res\values\styles.xml:9: error: Resource entry Theme.transparent already has bag item android:windowNoTitle.
res\values\style.xml:4: Originally defined here.
res\values\styles.xml:10: error: Resource entry Theme.transparent already has bag item android:windowContentOverlay.
res\values\style.xml:5: Originally defined here.
res\values\styles.xml:11: error: Resource entry Theme.transparent already has bag item android:backgroundDimEnabled.
res\values\style.xml:6: Originally defined here.
res\values\styles.xml:13: error: Resource entry Theme.transparent already has bag item android:background.
res\values\style.xml:7: Originally defined here.
]
Any thoughts, ideas, or links to recommended help pages are appreciated.
Thanks in advance.