导入android sdk samples工程报错"did you mean to use @+id instead of @+android:id?"
2015-01-13 11:42
666 查看
导入“D:\adt-bundle-windows-x86_64-20140702\sdk\samples\android-15”中的工程报错
did you mean to use @+id instead of @+android:id?
创建的一个例子的 4.2,2 ApiDemos,发现报错.
<ProgressBar
android:id="@+android:id/progress_small_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
去掉android: 就OK.
android:id="@+id/progress_small_title"
did you mean to use @+id instead of @+android:id?
创建的一个例子的 4.2,2 ApiDemos,发现报错.
<ProgressBar
android:id="@+android:id/progress_small_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
去掉android: 就OK.
android:id="@+id/progress_small_title"
相关文章推荐
- 解决vim写的Makefile报错:Makefile: missing separator(did you mean TAB instead of 8 spaces?). Stop.
- makefile报错:Makefile: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.
- Multiple substitutions specified in non-positional format; did you mean to add the formatted="false"
- Multiple substitutions specified in non-positional format; did you mean to add the formatted="false"
- brew 安装的.net 运行时提示"Did you mean to run dotnet SDK commands?"
- 使用RelativeLayout时,android:layout_toEndOf="@/id/xxxx",还是"@+id/xxxx"
- You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgrou
- make工具报错:missing separator (did you mean TAB instead of 8 spaces?). Stop.
- *** missing separator (did you mean TAB instead of 8 spaces?)或者*** missing separator的解决办法
- Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
- Cannot use isset() on the result of an expression (you can use "null !== expression" instead)
- Makefile:130: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.
- Words to Use Instead of "Very"
- 显示*** missing separator (did you mean TAB instead of 8 spaces?) 解决方案
- 'NSURL' is not implicitly convertible to 'URL'; did you mean to use 'as' to explicitly convert?异常
- VS2005,Did you forget to add '#include "stdafx.h"' to your source?
- Unable to use key file "id_rsa" (OpenSSH SSH-2 ...
- Android上下TabHost设置及Did you forget to call 'public void setup(LocalActivityManager activityGroup)解决方
- [ lucene扩展 ] "Did you mean" feature with Apache Lucene Spell-Checker
- When to Use Delegates Instead of Interfaces