[android-developers] Re: ApiDemos Build Worked w/ 1.5, Fails with 1.6 samples under 2.3 SDK
Same problem here. Any help would be appreciated. Perhaps google should release a native 64-bit version of the SDK huh? On Feb 11, 9:22 pm, Indicator Veritatis wrote: > Hi, all- > > I am trying to build the ApiDemos from the 1.6 samples (as a handy > reference while developing for 1.6 and up). But I am seeing build > errors I don't remember seeing when I did the build for 1.5 samples > months ago, errors I can't easily make go away by doing a touch on res/ > layout files, nor by Clean Project. Nor has a search of this Google > group for ApiDemos "No resource found that matches" "at 'text' with > value" shown anything clearly helpful and relevant., > > Specifically, after creating a new project and setting "Create project > existing Sample" and Build Target 1.6, the errors I get are: > > [2011-02-11 17:32:37 - > com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] > Unable to read /home/mejohnsn/android-sdk-linux_x86-1.6_r1/ > AndroidManifest.xml: java.io.FileNotFoundException: /home/mejohnsn/ > android-sdk-linux_x86-1.6_r1/AndroidManifest.xml (No such file or > directory) > [2011-02-11 17:32:37 - > com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] > Unable to read /home/mejohnsn/android-sdk-linux_x86-1.6_r1/ > AndroidManifest.xml: java.io.FileNotFoundException: /home/mejohnsn/ > android-sdk-linux_x86-1.6_r1/AndroidManifest.xml (No such file or > directory) > [2011-02-11 17:33:23 - ApiDemos] /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platform-tools/aapt: /lib/libz.so.1: no version > information available (required by /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platform-tools/aapt) > [2011-02-11 17:33:23 - ApiDemos] /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platforms/android-1.6/samples/ApiDemos/res/values/ > strings.xml:365: error: Apostrophe not preceded by \ (in I'm on! :)) > [2011-02-11 17:33:23 - ApiDemos] /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platforms/android-1.6/samples/ApiDemos/res/values/ > strings.xml:366: error: Apostrophe not preceded by \ (in I'm off! :() > [2011-02-11 17:33:23 - ApiDemos] /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platforms/android-1.6/samples/ApiDemos/res/values/ > strings.xml:643: error: Apostrophe not preceded by \ (in The Android > platform is a software stack for mobile devices including an > > ... > > And since I am not sure exactly when the above occurred, here are the > errors on a fresh build attempt: (turning off Build Automatically, > doing Clean Project and building w/ Project>Build Project): > > [2011-02-11 17:49:26 - ApiDemos] /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platform-tools/aapt: /lib/libz.so.1: no version > information available (required by /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platform-tools/aapt) > [2011-02-11 17:49:26 - ApiDemos] /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platforms/android-1.6/samples/ApiDemos/res/values/ > strings.xml:365: error: Apostrophe not preceded by \ (in I'm on! :)) > [2011-02-11 17:49:26 - ApiDemos] /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platforms/android-1.6/samples/ApiDemos/res/values/ > strings.xml:366: error: Apostrophe not preceded by \ (in I'm off! :() > [2011-02-11 17:49:26 - ApiDemos] /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platforms/android-1.6/samples/ApiDemos/res/values/ > strings.xml:643: error: Apostrophe not preceded by \ (in The Android > platform is a software stack for mobile devices including an > [2011-02-11 17:49:26 - ApiDemos] operating system, middleware and key > applications. Developers can create > [2011-02-11 17:49:26 - ApiDemos] applications for the platform using > the Android SDK. Applications are written > [2011-02-11 17:49:26 - ApiDemos] using the Java programming language > and run on Dalvik, a custom virtual > [2011-02-11 17:49:26 - ApiDemos] machine designed for embedded use > which runs on top of a Linux kernel. > [2011-02-11 17:49:26 - ApiDemos] > [2011-02-11 17:49:26 - ApiDemos] If you want to know how to develop > applications for Android, you're in the > [2011-02-11 17:49:26 - ApiDemos] right place. This site provides a > variety of documentation that will help you > [2011-02-11 17:49:26 - ApiDemos] learn about Android and develop > mobile applications for the platform. > [2011-02-11 17:49:26 - ApiDemos] > [2011-02-11 17:49:26 - ApiDemos] An early look at the the Android SDK > is also available. It includes sample > [2011-02-11 17:49:26 - ApiDemos] projects with source code, > development tools, an emulator, and of course all > [2011-02-11 17:49:26 - ApiDemos] the libraries you'll need to build > an Android application. What would it take > [2011-02-11 17:49:26 - ApiDemos] to build a better mobile phone? > [2011-02-11 17:49:26 - ApiDemos] ) > [2011-02-11 17:49:26 - ApiDemos] /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platforms/android-1.6/samples/ApiDemos/res/layout/ > scrollbar3.xml:87: error: Error: No resource found that matches the > given name (at 'text' with value '@str
[android-developers] Re: ApiDemos Build Worked w/ 1.5, Fails with 1.6 samples under 2.3 SDK
I should clarify: when building under SDK 2.3.1, I found something I did not see while trying to build the 1.6 sample: the wizard allowed building 2.3 samples under 2.3, not 1.6 under 2.3. I really did not see any such forced matching of sample to target when trying to build the 1.6 sample. I didn't even think it was possible. On Feb 11, 6:22 pm, Indicator Veritatis wrote: > Hi, all- > > I am trying to build the ApiDemos from the 1.6 samples (as a handy > reference while developing for 1.6 and up). But I am seeing build > errors I don't remember seeing when I did the build for 1.5 samples > months ago, errors I can't easily make go away by doing a touch on res/ > layout files, nor by Clean Project. Nor has a search of this Google > group for ApiDemos "No resource found that matches" "at 'text' with > value" shown anything clearly helpful and relevant., > > Specifically, after creating a new project and setting "Create project > existing Sample" and Build Target 1.6, the errors I get are: > > [2011-02-11 17:32:37 - > com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] > Unable to read /home/mejohnsn/android-sdk-linux_x86-1.6_r1/ > AndroidManifest.xml: java.io.FileNotFoundException: /home/mejohnsn/ > android-sdk-linux_x86-1.6_r1/AndroidManifest.xml (No such file or > directory) > [2011-02-11 17:32:37 - > com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] > Unable to read /home/mejohnsn/android-sdk-linux_x86-1.6_r1/ > AndroidManifest.xml: java.io.FileNotFoundException: /home/mejohnsn/ > android-sdk-linux_x86-1.6_r1/AndroidManifest.xml (No such file or > directory) > [2011-02-11 17:33:23 - ApiDemos] /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platform-tools/aapt: /lib/libz.so.1: no version > information available (required by /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platform-tools/aapt) > [2011-02-11 17:33:23 - ApiDemos] /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platforms/android-1.6/samples/ApiDemos/res/values/ > strings.xml:365: error: Apostrophe not preceded by \ (in I'm on! :)) > [2011-02-11 17:33:23 - ApiDemos] /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platforms/android-1.6/samples/ApiDemos/res/values/ > strings.xml:366: error: Apostrophe not preceded by \ (in I'm off! :() > [2011-02-11 17:33:23 - ApiDemos] /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platforms/android-1.6/samples/ApiDemos/res/values/ > strings.xml:643: error: Apostrophe not preceded by \ (in The Android > platform is a software stack for mobile devices including an > > ... > > And since I am not sure exactly when the above occurred, here are the > errors on a fresh build attempt: (turning off Build Automatically, > doing Clean Project and building w/ Project>Build Project): > > [2011-02-11 17:49:26 - ApiDemos] /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platform-tools/aapt: /lib/libz.so.1: no version > information available (required by /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platform-tools/aapt) > [2011-02-11 17:49:26 - ApiDemos] /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platforms/android-1.6/samples/ApiDemos/res/values/ > strings.xml:365: error: Apostrophe not preceded by \ (in I'm on! :)) > [2011-02-11 17:49:26 - ApiDemos] /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platforms/android-1.6/samples/ApiDemos/res/values/ > strings.xml:366: error: Apostrophe not preceded by \ (in I'm off! :() > [2011-02-11 17:49:26 - ApiDemos] /home/mejohnsn/android-sdk- > linux_x86-1.6_r1/platforms/android-1.6/samples/ApiDemos/res/values/ > strings.xml:643: error: Apostrophe not preceded by \ (in The Android > platform is a software stack for mobile devices including an > [2011-02-11 17:49:26 - ApiDemos] operating system, middleware and key > applications. Developers can create > [2011-02-11 17:49:26 - ApiDemos] applications for the platform using > the Android SDK. Applications are written > [2011-02-11 17:49:26 - ApiDemos] using the Java programming language > and run on Dalvik, a custom virtual > [2011-02-11 17:49:26 - ApiDemos] machine designed for embedded use > which runs on top of a Linux kernel. > [2011-02-11 17:49:26 - ApiDemos] > [2011-02-11 17:49:26 - ApiDemos] If you want to know how to develop > applications for Android, you're in the > [2011-02-11 17:49:26 - ApiDemos] right place. This site provides a > variety of documentation that will help you > [2011-02-11 17:49:26 - ApiDemos] learn about Android and develop > mobile applications for the platform. > [2011-02-11 17:49:26 - ApiDemos] > [2011-02-11 17:49:26 - ApiDemos] An early look at the the Android SDK > is also available. It includes sample > [2011-02-11 17:49:26 - ApiDemos] projects with source code, > development tools, an emulator, and of course all > [2011-02-11 17:49:26 - ApiDemos] the libraries you'll need to build > an Android application. What would it take > [2011-02-11 17:49:26 - ApiDemos] to build a better mobile phone? > [2011-02-11 17:49:26 - ApiDemos] ) > [2011-02-11 17:49:26 - ApiDemos]