android开发,eclipse中的AndroidManifest.xml

在AndroidManifest.xml中我写了
android:name="android.test.InstrumentationTestRunner"
android:targetpackage="com.sqlite.activity"
android:label="Test My App"
/>

提示错误
error: No resource identifier found for attribute 'targetpackage' in package 'android'

suannai0314
鹳狸媛 楼主的这个问题解决了么?下边的答案能解决问题么?如果可以麻烦点击答案旁的√采纳哦~如果没有也可以将自己的答案贴上然后进行采纳的。
6 年多之前 回复

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Android DatePicker显示异常
《Android权威编程》里面的一道例题 我创建了dialog_date的xml文件,以DatePicker为根元素,以下是代码 <?xml version="1.0" encoding="utf-8"?> <DatePicker xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/dialog_date_datePicker" android:layout_width="wrap_content" android:layout_height="wrap_content" android:calendarViewShown="false" /> 在视图布局里无法显示,出现了以下的错误 android.content.res.Resources$NotFoundException Exception details are logged in Window > Show View > Error Log 打开Error Log android.content.res.Resources$NotFoundException at com.android.layoutlib.bridge.android.BridgeContext.obtainStyledAttributes(BridgeContext.java:490) at com.android.layoutlib.bridge.android.BridgeContext.obtainStyledAttributes(BridgeContext.java:93) at android.widget.TextView.setTextAppearance(TextView.java:2484) at android.widget.YearPickerView$YearAdapter.getView(YearPickerView.java:132) at android.widget.AbsListView.obtainView(AbsListView.java:2344) at android.widget.ListView.measureHeightOfChildren(ListView.java:1270) at android.widget.ListView.onMeasure(ListView.java:1182) at android.view.View.measure(View.java:17430) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5463) at android.widget.FrameLayout.onMeasure(FrameLayout.java:430) at android.view.View.measure(View.java:17430) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5463) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436) at android.widget.LinearLayout.measureVertical(LinearLayout.java:722) at android.widget.LinearLayout.onMeasure(LinearLayout.java:613) at android.view.View.measure(View.java:17430) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5463) at android.widget.FrameLayout.onMeasure(FrameLayout.java:430) at android.view.View.measure(View.java:17430) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5463) at android.widget.FrameLayout.onMeasure(FrameLayout.java:430) at android.view.View.measure(View.java:17430) at android.widget.LinearLayout.measureVertical(LinearLayout.java:875) at android.widget.LinearLayout.onMeasure(LinearLayout.java:613) at android.view.View.measure(View.java:17430) at android.widget.LinearLayout.measureVertical(LinearLayout.java:875) at android.widget.LinearLayout.onMeasure(LinearLayout.java:613) at android.view.View.measure(View.java:17430) at com.android.layoutlib.bridge.impl.RenderSessionImpl.measureView(RenderSessionImpl.java:626) at com.android.layoutlib.bridge.impl.RenderSessionImpl.render(RenderSessionImpl.java:526) at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:334) at com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:349) at com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService.createRenderSession(RenderService.java:519) at com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart.renderWithBridge(GraphicalEditorPart.java:1584) at com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart.recomputeLayout(GraphicalEditorPart.java:1309) at com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart.activated(GraphicalEditorPart.java:1066) at com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditorDelegate.delegatePageChange(LayoutEditorDelegate.java:686) at com.android.ide.eclipse.adt.internal.editors.common.CommonXmlEditor.pageChange(CommonXmlEditor.java:360) at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:1102) at org.eclipse.ui.forms.editor.FormEditor.setActivePage(FormEditor.java:607) at com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor.selectDefaultPage(AndroidXmlEditor.java:450) at com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor.addPages(AndroidXmlEditor.java:311) at com.android.ide.eclipse.adt.internal.editors.common.CommonXmlEditor.addPages(CommonXmlEditor.java:285) at org.eclipse.ui.forms.editor.FormEditor.createPages(FormEditor.java:138) at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:363) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:151) at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:99) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:341) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56) at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:898) at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:879) at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121) at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:345) at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:264) at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:104) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:55) at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:971) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:640) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.createElement(PartServiceImpl.java:1209) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1170) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:400) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3186) at org.eclipse.ui.internal.WorkbenchPage.access$25(WorkbenchPage.java:3149) at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:3131) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3126) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3090) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3080) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:541) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:500) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:360) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:167) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:268) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:233) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:275) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:376) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:538) at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48) at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:854) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173) at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:851) at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1168) at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1275) at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:278) at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:272) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:313) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608) at org.eclipse.equinox.launcher.Main.run(Main.java:1515) ** 根本看不懂在说什么,有谁能帮忙解答下吗? **以下是我的AndroidManifest的xml文件 <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.bignerdranch.android.criminalintent" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="21" /> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > <activity android:name=".CrimeListActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name=".CrimePagerActivity" android:label="@string/app_name" > </activity> </application> </manifest>
android报错Could not determine the class-path ...
Android Studio导入Eclipse项目报错: `Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.` 项目的build.gradle文件如下: ```Gradle buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.3.0' } } apply plugin: 'com.android.application' dependencies { compile fileTree(dir: 'libs', include: '*.jar') } android { compileSdkVersion 22 buildToolsVersion "25.0.2" sourceSets { main { manifest.srcFile 'AndroidManifest.xml' java.srcDirs = ['src'] resources.srcDirs = ['src'] aidl.srcDirs = ['src'] renderscript.srcDirs = ['src'] res.srcDirs = ['res'] assets.srcDirs = ['assets'] } // Move the tests to tests/java, tests/res, etc... instrumentTest.setRoot('tests') // Move the build types to build-types/<type> // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ... // This moves them out of them default location under src/<type>/... which would // conflict with src/ being used by the main source set. // Adding new build types or product flavors should be accompanied // by a similar customization. debug.setRoot('build-types/debug') release.setRoot('build-types/release') } } ``` 请问一下该怎么解决?
Eclipse for android 创建新工程出现@drawable错误
[2016-11-06 11:18:11 - Activity] C:\Users\宁胖胖\workspace2\Activity\AndroidManifest.xml:11: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_launcher'). [2016-11-06 11:18:11 - Activity] [2016-11-06 11:18:13 - Activity] C:\Users\宁胖胖\workspace2\Activity\AndroidManifest.xml:11: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_launcher'). [2016-11-06 11:18:13 - Activity] [2016-11-06 11:18:14 - Activity] C:\Users\宁胖胖\workspace2\Activity\AndroidManifest.xml:11: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_launcher'). [2016-11-06 11:18:14 - Activity] 系统日志如上,想问下是缺少了什么文件吗,困扰好几天了,求解谢谢
android4.2版本的开发时看不懂MainActivity中代码的含义
新版android eclipse中的MainActivity.java里面增加了好多新的代码,因为还是菜鸟一只,好多代码都不知道是什么作用,求大神指教。之前就一直把代码敲错位置了,耽误了好久,后来总算知道错在哪里了,为了错误不再重犯,求教大神解释整个默认的代码片段大致是什么含义。` enter code here package com.example.helloworld; import android.support.v7.app.ActionBarActivity; import android.support.v7.app.ActionBar; import android.support.v4.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import android.os.Build; public class MainActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); if (savedInstanceState == null) { getSupportFragmentManager().beginTransaction() .add(R.id.container, new PlaceholderFragment()).commit(); } } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.main, menu); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { // Handle action bar item clicks here. The action bar will // automatically handle clicks on the Home/Up button, so long // as you specify a parent activity in AndroidManifest.xml. int id = item.getItemId(); if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); } /** * A placeholder fragment containing a simple view. */ public static class PlaceholderFragment extends Fragment { public PlaceholderFragment() { } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView = inflater.inflate(R.layout.fragment_main, container, false); return rootView; } } } `
android studio 打包无法更新eclipse打包程序
之前一直用32位xp系统,eclipse编译android 程序,最近迁移到android studio 并且换了64位window7系统。发现android studio 无法自动更新之前eclipse打包的程序。提示存在已存在签名冲突的数据包,无法安装。 有没有大神碰到此问题的。怎么让顺利更新啊。因为eclipse编译的程序已经上线,涉及大量的客户端,不可能全部卸载重装了。 ps:签名都是一样的。并且Androidmanifest.xml文件的 android:minSdkVersion="14" android:targetSdkVersion="19" 都是一样的。
第一个安卓程序,eclipse不识别语句怎么办
![图片说明](https://img-ask.csdn.net/upload/201501/13/1421128441_709484.jpg) ```按照书上写的修改strings.xml fist_layout.xml 和Androidmanifest.xml后还是不能运行,好像一个包不能识别,按照书上装了android2.2,新手第一次发帖,求解答 ``` ``` ``` ``` ```
初学者eclipse安卓 manifest中报andriod属性未绑定
学习《第一行代码》 然后看书之后自己试一遍就报错....求指点 com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Parser exception for F:\AndriodTest\ActivityTest\AndroidManifest.xml: 与元素类型 "activity" 相关联的属性 "andriod:name" 的前缀 "andriod" 未绑定。 - ActivityTest] Error in an XML file: aborting build. ``` <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.activitytest" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="L" android:targetSdkVersion="21" /> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > <activity andriod:name="com.example.activitytest.FirstActivity" andriod:label="This is"> <intent-filter> <action andriod:name="android.intent.action.MAIN" /> <category andriod:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest> ```
关于命令行创建一个android test-project
在适应IDE(例如Eclipse)创建Android test project时可以将test target project设置为this project,那么如何在命令行创建一个android test project ? 如果使用 android create test-project -p . -m . 会报错:Error: No AndroidManifest.xml file found in the main project directory: 如何解决? 我做的是Robotium测试,只有Apk木有源代码,所以被测试工程师不存在滴。肿么办?
看书打的第一个andriod程序可是有错,不太懂,求大神指教
package com.test.helloworld; import android.app.Activity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; public class HelloWorldActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.hello_world_layout); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.hello_world, menu); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { // Handle action bar item clicks here. The action bar will // automatically handle clicks on the Home/Up button, so long // as you specify a parent activity in AndroidManifest.xml. int id = item.getItemId(); if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); } } 以下是错误信息 [2016-09-19 21:10:32 - HelloWord] D:\eclipse\HelloWord\AndroidManifest.xml:11: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_launcher'). 纠结了很长时间了,哈哈哈哈求大神解答
安卓菜鸟 这两个按钮加入同一个页面,加入第二个按钮之后运行时只有第二个按钮可点击 第一个按钮点击没反应,求问是怎么回事?
package com.example.liuyuteng; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.Toast; public class SecondActivity extends Activity{ @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.two); Button button2=(Button)findViewById(R.id.button2); button2.setOnClickListener(new OnClickListener(){ public void onClick(View v){ Intent intent=new Intent(SecondActivity.this,ThreeActivity.class); startActivity(intent); } }); super.onCreate(savedInstanceState); setContentView(R.layout.two); Button button3=(Button)findViewById(R.id.button3); button3.setOnClickListener(new OnClickListener(){ public void onClick(View v){ Intent intent=new Intent(SecondActivity.this,FourActivity.class); startActivity(intent); } }); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.main, menu); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { // Handle action bar item clicks here. The action bar will // automatically handle clicks on the Home/Up button, so long // as you specify a parent activity in AndroidManifest.xml. int id = item.getItemId(); if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); } }
Android开发连接本地Mongodb出现deprecated提示
开发环境是Eclipse+Android SDK+Mongodb+mongo-java-driver Android的API是8(2.2),最低支持的是1.5,最高支持的是4.4。 Mongodb是用2.6.6 mongo-java-driver是2.13.0-rc2 我是做一个简单的学生资料录入的app。 原理是通过点击 save的button,触发SaveButton_Click,然后SaveButton_Click会把对应的 EditText的内容转换成一个mongodb的文档写入数据库。 编码提示mongo的构造方法已经deprecated, new Mongo(); new Mongo("localhost"); new Mongo("localhost", 27017); new Mongo(new ServerAddress("localhost")); 上述4种debug软件会有提示,在模拟器运行也会报错。如何才能解决呢? MainActivity.java的代码: package com.example.testing; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.*; import com.mongodb.*; public class MainActivity extends ActionBarActivity { Button button; int count=0; String studentname; String studentnum; String studentage; String studentsexual; Mongo conn; DB db; DBCollection coll; BasicDBObject doc; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); button = (Button)findViewById(R.id.saveButton); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.main, menu); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { // Handle action bar item clicks here. The action bar will // automatically handle clicks on the Home/Up button, so long // as you specify a parent activity in AndroidManifest.xml. int id = item.getItemId(); if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); } @SuppressWarnings("deprecation") public void SaveButton_Click(View view) { try{ conn = new Mongo("localhost"); }catch (Exception e){ throw new RuntimeException(e); }; DB db = conn.getDB("grade"); DBCollection coll = db.getCollection("Student"); BasicDBObject doc = new BasicDBObject(); doc.put("name", R.id.nameEditText); doc.put("num",R.id.nameEditText); doc.put("age",R.id.ageEditText); doc.put("sexual",R.id.sexualEditText); coll.setWriteConcern(WriteConcern.SAFE); } }
初学者eclipse报错:not well-formed (invalid token)
新建有两个Activity用于两个Activity之间简单的切换,java文件跟xml文件都没问题了,就是在Androidmanifest中声明使用IntentTestActivity和AnotherActivity出问题 代码如下: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.intenttest" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="18" /> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > <activity android:name=".IntentTestActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name=".AnotherActivity" <intent-filter>//这里报错,Error parsing XML:not well-formed (invalid token) <action android:name="android.guo.action.anotheractivity" /> </intent-filter> </activity> </application> </manifest>
【大神求组】eclipse项目导入Androidstudio报错
![图片说明](https://img-ask.csdn.net/upload/201606/13/1465795548_265211.png) 我用的Androidstudio版本是2.1.2,导入eclipse项目之后出现在图片中的问题。 Event Log里面显示的是: 12:50:06 Executing tasks: [clean, :app:generateDebugSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:generateDebugAndroidTestSources] 12:50:13 Gradle build finished with 1 error(s) in 6s 549ms 下面是导入后生成的IMPORT SUMMARY: ``` ECLIPSE ANDROID PROJECT IMPORT SUMMARY ====================================== Ignored Files: -------------- The following files were *not* copied into the new Gradle project; you should evaluate whether these are still needed in your project and if so manually move them: * ic_launcher-web.png * proguard-project.txt Replaced Jars with Dependencies: -------------------------------- The importer recognized the following .jar files as third party libraries and replaced them with Gradle dependencies instead. This has the advantage that more explicit version information is known, and the libraries can be updated automatically. However, it is possible that the .jar file in your project was of an older version than the dependency we picked, which could render the project not compileable. You can disable the jar replacement in the import wizard and try again: android-support-v4.jar => com.android.support:support-v4:18.0.0 gson-2.2.4.jar => com.google.code.gson:gson:2.2.4 Potentially Missing Dependency: ------------------------------- When we replaced the following .jar files with a Gradle dependency, we inferred the dependency version number from the filename. This specific version may not actually be available from the repository. If you get a build error stating that the dependency is missing, edit the version number to for example "+" to pick up the latest version instead. (This may require you to update your code if the library APIs have changed.) gson-2.2.4.jar => version 2.2.4 in com.google.code.gson:gson:2.2.4 Moved Files: ------------ Android Gradle projects use a different directory structure than ADT Eclipse projects. Here's how the projects were restructured: * AndroidManifest.xml => app\src\main\AndroidManifest.xml * assets\ => app\src\main\assets * libs\fastjson-1.2.2.jar => app\libs\fastjson-1.2.2.jar * res\ => app\src\main\res\ * src\ => app\src\main\java\ Next Steps: ----------- You can now build the project. The Gradle project needs network connectivity to download dependencies. Bugs: ----- If for some reason your project does not build, and you determine that it is due to a bug or limitation of the Eclipse to Gradle importer, please file a bug at http://b.android.com with category Component-Tools. (This import summary is for your information only, and can be deleted after import once you are satisfied with the results.) ```
在模拟器运行的时候出错,提示Unfortunately,XXX has stopped
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.textqrcode" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="18" /> <uses-permission android:name="android.permission.CAMERA"/> <uses-permission android:name="android.permission.VIBRATE"/> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > <activity android:name=".MainActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:configChanges="orientation|keyboardHidden" android:name="com.zxing.activity.CaptureActivity" android:screenOrientation="portrait" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:windowSoftInputMode="stateAlwaysHidden" > </activity> </application> </manifest> ``` ``` 01-31 07:52:24.090: E/AndroidRuntime(695): FATAL EXCEPTION: main 01-31 07:52:24.090: E/AndroidRuntime(695): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.textqrcode/com.example.textqrcode.CaptureActivity}; have you declared this activity in your AndroidManifest.xml? 01-31 07:52:24.090: E/AndroidRuntime(695): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1508) 01-31 07:52:24.090: E/AndroidRuntime(695): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1384) 01-31 07:52:24.090: E/AndroidRuntime(695): at android.app.Activity.startActivityForResult(Activity.java:3190) 01-31 07:52:24.090: E/AndroidRuntime(695): at android.app.Activity.startActivity(Activity.java:3297) 01-31 07:52:24.090: E/AndroidRuntime(695): at com.example.textqrcode.MainActivity$1.onClick(MainActivity.java:26) 01-31 07:52:24.090: E/AndroidRuntime(695): at android.view.View.performClick(View.java:3480) 01-31 07:52:24.090: E/AndroidRuntime(695): at android.view.View$PerformClick.run(View.java:13983) 01-31 07:52:24.090: E/AndroidRuntime(695): at android.os.Handler.handleCallback(Handler.java:605) 01-31 07:52:24.090: E/AndroidRuntime(695): at android.os.Handler.dispatchMessage(Handler.java:92) 01-31 07:52:24.090: E/AndroidRuntime(695): at android.os.Looper.loop(Looper.java:137) 01-31 07:52:24.090: E/AndroidRuntime(695): at android.app.ActivityThread.main(ActivityThread.java:4340) 01-31 07:52:24.090: E/AndroidRuntime(695): at java.lang.reflect.Method.invokeNative(Native Method) 01-31 07:52:24.090: E/AndroidRuntime(695): at java.lang.reflect.Method.invoke(Method.java:511) 01-31 07:52:24.090: E/AndroidRuntime(695): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) 01-31 07:52:24.090: E/AndroidRuntime(695): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 01-31 07:52:24.090: E/AndroidRuntime(695): at dalvik.system.NativeStart.main(Native Method)
如何检测布局中的错误?
如何检测布局错误?我启动 eclipse,并且用布局打开第一个activity,但是第一个Activity.java 文件在 SetContentView(R.layout.main) 这儿有错误。我用的是 Sdk API 16。 package com.eConnect.Restaurant; import android.os.Bundle; import android.app.Activity; import android.view.Menu; public class LoginActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } @Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.main, menu); return true; } } main.xml: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/LinearLayout1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="#000000" android:orientation="vertical" > <ImageView android:id="@+id/imageView1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="15dip" android:contentDescription="@string/desc" android:src="@drawable/econnect_logo" /> <TextView android:id="@+id/textView1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="15dip" android:text="@string/uid" android:textAppearance="?android:attr/textAppearanceLarge" /> <EditText android:id="@+id/editText1" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="15dip" android:background="#ffffff" android:hint="@string/uid" android:inputType="number" android:textColor="#9966cc" > <requestFocus /> </EditText> <TextView android:id="@+id/textView2" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="15dip" android:text="@string/PW" android:textAppearance="?android:attr/textAppearanceLarge" /> <EditText android:id="@+id/editText2" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="15dip" android:background="#ffffff" android:hint="@string/PW" android:inputType="numberPassword" android:textColor="#9966cc" /> <TextView android:id="@+id/textView3" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="15dip" android:textAppearance="?android:attr/textAppearanceLarge" android:textColor="#ff0000" android:textStyle="bold" /> <Button android:id="@+id/button1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="15dip" android:background="#cccccc" android:text="@string/bt" android:textColor="#006600" android:textStyle="bold" /> androidmanifest.xml: <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.eConnect.Restaurant" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="15" /> <application android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > <activity android:name=".LoginActivity" android:label="@string/title_activity_login" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest>
各位高手,帮我分析以下代码在安卓手机上运行时报错的原因!
//MainActivity.java如下: ```import android.app.Activity; import android.os.Bundle; import android.view.KeyEvent; import android.view.Menu; import android.view.MenuItem; import android.webkit.WebSettings.RenderPriority; import android.webkit.WebView; import android.webkit.WebViewClient; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); WebView browser=(WebView)findViewById(R.id.Toweb); browser.loadUrl("http://58.215.195.18:10010/login_person.jsp"); //在此app不能上网提示“Proxy_Error",但UC浏览器和电脑都能上 browser.getSettings().setSupportZoom(true); browser.getSettings().setBuiltInZoomControls(true); browser.getSettings().setJavaScriptEnabled(true); browser.getSettings().setDomStorageEnabled(true); browser.getSettings().setBlockNetworkImage(true); browser.getSettings().setJavaScriptCanOpenWindowsAutomatically(true); browser.getSettings().setAllowFileAccess(true); browser.getSettings().setAppCacheEnabled(true); browser.getSettings().setSaveFormData(false); browser.getSettings().setLoadsImagesAutomatically(true); browser.setWebViewClient(new WebViewClient() { public boolean shouldOverrideUrlLoading(WebView view, String url) { view.loadUrl(url); return true; } }); } @Override public boolean onKeyDown(int keyCode, KeyEvent event) { WebView browser=(WebView)findViewById(R.id.Toweb); // Check if the key event was the Back button and if there's history if ((keyCode == KeyEvent.KEYCODE_BACK) && browser.canGoBack()) { browser.goBack(); return true; } return super.onKeyDown(keyCode, event); } @Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.main, menu); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { int id = item.getItemId(); if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); } } ``` //activity_main.xml如下: ```<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" tools:context="com.example.wuxireservedfunds.MainActivity" > <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/hello_world" /> <WebView android:id="@+id/Toweb" android:layout_width="fill_parent" android:layout_height="fill_parent" /> </RelativeLayout>``` //AndroidManifest.xml如下: ```<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.wuxireservedfunds" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" /> <uses-permission android:name="android.permission.INTERNET"> </uses-permission> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > <activity android:name=".MainActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest> ``` 在eclipse中编译时并没有错误提示,是apk在模拟器和手机运行时报错误,具体如下: Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /login_person.jsp. Reason:Error reading from remote server 但是网址:http://58.215.195.18:10010/login_person.jsp却能在手机的uc浏览器 和电脑上正常打开,真是百思不得其解!高手们,出马啊!拜托了!
在布局中怎么使用自定义的视图
这个我创建的视图类: public final class MyView extends View { public MyView(Context context, AttributeSet attrs) { super(context, attrs); [...] } [...] } 然后我想把这个视图放在layout.xml中使用: <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent"> <com.hitziger.barcode.MyView android:id="@+id/my_view" android:layout_width="fill_parent" android:layout_height="fill_parent"/> </FrameLayout> 但是Eclipse报出了log的错误: AndroidManifest: Ignoring unknown 'com.hitziger.barcode.MyView' XML element 在布局中怎么使用自定义的视图?
android 源码编译出现的错误
xxxxx@compiler:~/xxxx/0313-test-1/0313/packages/xxxx/myTV$ mm -B ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=4.4.2 TARGET_PRODUCT=m201 TARGET_BUILD_VARIANT=user TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a-neon TARGET_CPU_VARIANT=cortex-a9 HOST_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-3.2.0-86-generic-x86_64-with-Ubuntu-12.04-precise HOST_BUILD_TYPE=release BUILD_ID=KOT49H OUT_DIR=out ============================================ PRODUCT_COPY_FILES device/xxxx/m201/audio_effects.conf:system/etc/audio_effects.conf ignored. PRODUCT_COPY_FILES device/xxxx/m201/lowmemorykiller.txt:/system/etc/lowmemorykiller.txt ignored. PRODUCT_COPY_FILES device/xxxx/m201/lowmemorykiller_512M.txt:/system/etc/lowmemorykiller_512M.txt ignored. No private recovery resources for TARGET_DEVICE m201 make: Entering directory `/mnt/commondata/user/aliontuo/xxxx/0313-test-1/0313' target R.java/Manifest.java: myTV (out/target/common/obj/APPS/myTV_intermediates/src/R.stamp) Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest. Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest. Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest. Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest. target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libgson-2.2.4_intermediates/classes.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libgson-2.2.4_intermediates/javalib.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libotaupdate_intermediates/classes.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libotaupdate_intermediates/javalib.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libactivemq-broker-5.12.0_intermediates/classes.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libactivemq-broker-5.12.0_intermediates/javalib.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libactivemq-client-5.12.0_intermediates/classes.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libactivemq-client-5.12.0_intermediates/javalib.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libactivemq-console-5.12.0_intermediates/classes.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libactivemq-console-5.12.0_intermediates/javalib.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libactivemq-jaas-5.12.0_intermediates/classes.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libactivemq-jaas-5.12.0_intermediates/javalib.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libactivemq-kahadb-store-5.12.0_intermediates/classes.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libactivemq-kahadb-store-5.12.0_intermediates/javalib.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libactivemq-openwire-legacy-5.12.0_intermediates/classes.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libactivemq-openwire-legacy-5.12.0_intermediates/javalib.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libactivemq-protobuf-1.1_intermediates/classes.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libactivemq-protobuf-1.1_intermediates/javalib.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libactivemq-spring-5.12.0_intermediates/classes.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libactivemq-spring-5.12.0_intermediates/javalib.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libactivemq-web-5.12.0_intermediates/classes.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libactivemq-web-5.12.0_intermediates/javalib.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libgeronimo-j2ee-management_1.1_spec-1.0.1_intermediates/classes.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libgeronimo-j2ee-management_1.1_spec-1.0.1_intermediates/javalib.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libgeronimo-jms_1.1_spec-1.1.1_intermediates/classes.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libgeronimo-jms_1.1_spec-1.1.1_intermediates/javalib.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libgeronimo-jta_1.0.1B_spec-1.0.1_intermediates/classes.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libgeronimo-jta_1.0.1B_spec-1.0.1_intermediates/javalib.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libhawtbuf-1.11_intermediates/classes.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libhawtbuf-1.11_intermediates/javalib.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libjcl-over-slf4j-1.7.10_intermediates/classes.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libjcl-over-slf4j-1.7.10_intermediates/javalib.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libslf4j-api-1.7.10_intermediates/classes.jar) target Prebuilt: myTV (out/target/common/obj/JAVA_LIBRARIES/libslf4j-api-1.7.10_intermediates/javalib.jar) target Java: myTV (out/target/common/obj/APPS/myTV_intermediates/classes) Note: packages/amlogic/myTV/src/com/justek/mytv/entity/FileSelector.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Copying: out/target/common/obj/APPS/myTV_intermediates/classes-jarjar.jar Copying: out/target/common/obj/APPS/myTV_intermediates/emma_out/lib/classes-jarjar.jar Copying: out/target/common/obj/APPS/myTV_intermediates/classes.jar Copying: out/target/common/obj/APPS/myTV_intermediates/noproguard.classes.jar target Dex: myTV trouble processing "javax/transaction/Transaction.class": Ill-advised or mistaken usage of a core class (java.* or javax.*) when not building a core library. This is often due to inadvertently including a core library file in your application's project, when using an IDE (such as Eclipse). If you are sure you're not intentionally defining a core class, then this is the most likely explanation of what's going on. However, you might actually be trying to define a class in a core namespace, the source of which you may have taken, for example, from a non-Android virtual machine project. This will most assuredly not work. At a minimum, it jeopardizes the compatibility of your app with future versions of the platform. It is also often of questionable legality. If you really intend to build a core library -- which is only appropriate as part of creating a full virtual machine distribution, as opposed to compiling an application -- then use the "--core-library" option to suppress this error message. If you go ahead and use "--core-library" but are in fact building an application, then be forewarned that your application will still fail to build or run, at some point. Please be prepared for angry customers who find, for example, that your application ceases to function once they upgrade their operating system. You will be to blame for this problem. If you are legitimately using some code that happens to be in a core package, then the easiest safe alternative you have is to repackage that code. That is, move the classes in question into your own package namespace. This means that they will never be in conflict with core system classes. JarJar is a tool that may help you in this endeavor. If you find that you cannot do this, then that is an indication that the path you are on will ultimately lead to pain, suffering, grief, and lamentation. 1 error; aborting make: *** [out/target/common/obj/APPS/myTV_intermediates/classes-with-local.dex] Error 1 make: Leaving directory `/mnt/commondata/user/aliontuo/xxxx/0313-test-1/0313' 这个是因为我引入的jar包的什么原因导致的,是否这些包有冲突? 求大神帮忙看看啊
Activity跳转失败,点击跳转按钮后黑屏卡住
Activity跳转失败,点击跳转按钮后黑屏卡住,估计是otheractivity启动失败,android 小白 activity_other.xml ``` <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <TextView android:layout_width="fill_parent" android:layout_height="35dp" android:text="@string/activity_other_headtext" android:gravity="center" android:background="#E0E0E0" /> <TextView android:layout_width="fill_parent" android:layout_height="35dp" android:text="@string/activity_other_meg" android:gravity="center"/> <TableLayout android:layout_width="fill_parent" android:layout_height="wrap_content"> <TableRow android:layout_width="wrap_content" android:layout_height="wrap_content"> <TextView android:layout_width="160dp" android:layout_height="wrap_content" android:gravity="right" android:padding="5dp" android:text="@string/activity_other_username" /> <TextView android:id="@+id/activity_other_username" android:layout_width="160dp" android:layout_height="wrap_content" android:padding="5dp"/> </TableRow> <TableRow android:layout_width="wrap_content" android:layout_height="wrap_content"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="right" android:text="@string/activity_other_sex" android:padding="5dp"/> <TextView android:layout_width="160dp" android:layout_height="wrap_content" android:padding="5dp" android:id="@+id/activity_other_sex" android:text="@string/activity_other_null"/> </TableRow> <TableRow android:layout_width="wrap_content" android:layout_height="wrap_content"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="right" android:text="@string/activity_other_phonenum" android:padding="5dp"/> <TextView android:layout_width="160dp" android:layout_height="wrap_content" android:padding="5dp" android:id="@+id/activity_other_phonenum" android:text="@string/activity_other_null"/> </TableRow> <TableRow android:layout_width="wrap_content" android:layout_height="wrap_content"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="right" android:text="@string/activity_other_QQ" android:padding="5dp"/> <TextView android:layout_width="160dp" android:layout_height="wrap_content" android:padding="5dp" android:id="@+id/activity_other_QQ" android:text="@string/activity_other_null"/> </TableRow> </TableLayout> <Button android:id="@+id/activity_other_Button" android:layout_width="200dp" android:layout_height="wrap_content" android:layout_gravity="center" android:text="@string/activity_other_know_button"> </Button> </LinearLayout> ``` Mainactivity.java ``` package com.example.p105092015050; import java.security.PublicKey; import android.R.string; import android.app.Activity; import android.content.Intent; import android.inputmethodservice.Keyboard.Key; import android.os.Bundle; import android.os.storage.OnObbStateChangeListener; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.CheckBox; import android.widget.EditText; import android.widget.RadioButton; import android.widget.RadioGroup; import android.widget.RadioGroup.OnCheckedChangeListener; import android.widget.TextView; import android.widget.Toast; public class MainActivity extends Activity { private EditText username_EText=null; private EditText phonenum_EText=null; private EditText QQ_EText=null; private EditText passwd_EText=null; private EditText passwd_EText_reptition=null; private CheckBox checkBox=null; private Button regist_button=null; private RadioGroup sex_radiogroup=null; public char sex; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); init(); } public void init() { username_EText=(EditText)findViewById(R.id.activity_main_EText_username); sex_radiogroup=(RadioGroup)findViewById(R.id.radiogroup); phonenum_EText=(EditText)findViewById(R.id.activity_main_EText_phonenum); QQ_EText=(EditText)findViewById(R.id.activity_main_EText_QQ); passwd_EText=(EditText)findViewById(R.id.activity_main_EText_password); passwd_EText_reptition=(EditText)findViewById(R.id.activity_main_EText_password_reptition); checkBox=(CheckBox)findViewById(R.id.activity_main_CheckBox); regist_button=(Button)findViewById(R.id.activity_main_Button_register); checkBox.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { if(checkBox.isChecked()) regist_button.setEnabled(true); else regist_button.setEnabled(false); } }); sex_radiogroup.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(RadioGroup group, int checkedId) { if(checkedId==R.id.activity_main_RadioButton_man) sex='男'; else if(checkedId==R.id.activity_main_RadioButton_woman) sex='女'; } }); regist_button.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { if(username_EText.getText().toString().length() == 0){ Toast.makeText(MainActivity.this,"用户名不能为空", Toast.LENGTH_SHORT).show(); } else if(passwd_EText.getText().toString().length() == 0 ||passwd_EText_reptition.getText().toString().length() == 0){ Toast.makeText(MainActivity.this,"密码不能为空", Toast.LENGTH_SHORT).show(); } else if(!passwd_EText.getText().toString().equals(passwd_EText_reptition.getText().toString())){ Toast.makeText(MainActivity.this,"密码不一致", Toast.LENGTH_SHORT).show(); } else { Intent intent=new Intent(MainActivity.this,OtherActivity.class); Bundle bundle=new Bundle(); bundle.putString("username",username_EText.getText().toString()); bundle.putChar("sex", sex); bundle.putString("phonenum",phonenum_EText.getText().toString()); bundle.putString("QQ",QQ_EText.getText().toString()); intent.putExtras(bundle); startActivity(intent); } } }); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.main, menu); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { // Handle action bar item clicks here. The action bar will // automatically handle clicks on the Home/Up button, so long // as you specify a parent activity in AndroidManifest.xml. int id = item.getItemId(); if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); } } ``` OtherActivity.java ``` import android.app.Activity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.TextView; import android.widget.Toast; public class OtherActivity extends Activity { private Button button=null; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_other); button=(Button)findViewById(R.id.activity_other_Button); Bundle bundle=this.getIntent().getExtras(); TextView username=(TextView)findViewById(R.id.activity_other_username); username.setText(bundle.getString("username")); while(bundle.getString("sex") != null){ TextView phonenum=(TextView)findViewById(R.id.activity_other_sex); phonenum.setText(bundle.getString("sex")); } while(bundle.getString("phonenum") != null){ TextView phonenum=(TextView)findViewById(R.id.activity_other_phonenum); phonenum.setText(bundle.getString("phonenum")); } while(bundle.getString("QQ") != null){ TextView phonenum=(TextView)findViewById(R.id.activity_other_QQ); phonenum.setText(bundle.getString("QQ")); } button.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { Toast.makeText(OtherActivity.this, "注册成功,等待进入主界面", Toast.LENGTH_LONG).show(); } }); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.other, menu); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { // Handle action bar item clicks here. The action bar will // automatically handle clicks on the Home/Up button, so long // as you specify a parent activity in AndroidManifest.xml. int id = item.getItemId(); if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); } } ```
终于明白阿里百度这样的大公司,为什么面试经常拿ThreadLocal考验求职者了
点击上面↑「爱开发」关注我们每晚10点,捕获技术思考和创业资源洞察什么是ThreadLocalThreadLocal是一个本地线程副本变量工具类,各个线程都拥有一份线程私有的数
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过
《奇巧淫技》系列-python!!每天早上八点自动发送天气预报邮件到QQ邮箱
此博客仅为我业余记录文章所用,发布到此,仅供网友阅读参考,如有侵权,请通知我,我会删掉。 补充 有不少读者留言说本文章没有用,因为天气预报直接打开手机就可以收到了,为何要多此一举发送到邮箱呢!!!那我在这里只能说:因为你没用,所以你没用!!! 这里主要介绍的是思路,不是天气预报!不是天气预报!!不是天气预报!!!天气预报只是用于举例。请各位不要再刚了!!! 下面是我会用到的两个场景: 每日下
死磕YOLO系列,YOLOv1 的大脑、躯干和手脚
YOLO 是我非常喜欢的目标检测算法,堪称工业级的目标检测,能够达到实时的要求,它帮我解决了许多实际问题。 这就是 YOLO 的目标检测效果。它定位了图像中物体的位置,当然,也能预测物体的类别。 之前我有写博文介绍过它,但是每次重新读它的论文,我都有新的收获,为此我准备写一个系列的文章来详尽分析它。这是第一篇,从它的起始 YOLOv1 讲起。 YOLOv1 的论文地址:https://www.c
知乎高赞:中国有什么拿得出手的开源软件产品?(整理自本人原创回答)
知乎高赞:中国有什么拿得出手的开源软件产品? 在知乎上,有个问题问“中国有什么拿得出手的开源软件产品(在 GitHub 等社区受欢迎度较好的)?” 事实上,还不少呢~ 本人于2019.7.6进行了较为全面的 回答 - Bravo Yeung,获得该问题下回答中得最高赞(236赞和1枚专业勋章),对这些受欢迎的 Github 开源项目分类整理如下: 分布式计算、云平台相关工具类 1.SkyWalk
20行Python代码爬取王者荣耀全英雄皮肤
引言 王者荣耀大家都玩过吧,没玩过的也应该听说过,作为时下最火的手机MOBA游戏,咳咳,好像跑题了。我们今天的重点是爬取王者荣耀所有英雄的所有皮肤,而且仅仅使用20行Python代码即可完成。 准备工作 爬取皮肤本身并不难,难点在于分析,我们首先得得到皮肤图片的url地址,话不多说,我们马上来到王者荣耀的官网: 我们点击英雄资料,然后随意地选择一位英雄,接着F12打开调试台,找到英雄原皮肤的图片
简明易理解的@SpringBootApplication注解源码解析(包含面试提问)
欢迎关注文章系列 ,关注我 《提升能力,涨薪可待》 《面试知识,工作可待》 《实战演练,拒绝996》 欢迎关注我博客,原创技术文章第一时间推出 也欢迎关注公 众 号【Ccww笔记】,同时推出 如果此文对你有帮助、喜欢的话,那就点个赞呗,点个关注呗! 《提升能力,涨薪可待篇》- @SpringBootApplication注解源码解析 一、@SpringBootApplication 的作用是什
西游记团队中如果需要裁掉一个人,会先裁掉谁?
2019年互联网寒冬,大批企业开始裁员,下图是网上流传的一张截图: 裁员不可避免,那如何才能做到不管大环境如何变化,自身不受影响呢? 我们先来看一个有意思的故事,如果西游记取经团队需要裁员一名,会裁掉谁呢,为什么? 西游记团队组成: 1.唐僧 作为团队teamleader,有很坚韧的品性和极高的原则性,不达目的不罢休,遇到任何问题,都没有退缩过,又很得上司支持和赏识(直接得到唐太宗的任命,既给
Python语言高频重点汇总
Python语言高频重点汇总 GitHub面试宝典仓库——点这里跳转 文章目录Python语言高频重点汇总**GitHub面试宝典仓库——点这里跳转**1. 函数-传参2. 元类3. @staticmethod和@classmethod两个装饰器4. 类属性和实例属性5. Python的自省6. 列表、集合、字典推导式7. Python中单下划线和双下划线8. 格式化字符串中的%和format9.
究竟你适不适合买Mac?
我清晰的记得,刚买的macbook pro回到家,开机后第一件事情,就是上了淘宝网,花了500元钱,找了一个上门维修电脑的师傅,上门给我装了一个windows系统。。。。。。 表砍我。。。 当时买mac的初衷,只是想要个固态硬盘的笔记本,用来运行一些复杂的扑克软件。而看了当时所有的SSD笔记本后,最终决定,还是买个好(xiong)看(da)的。 已经有好几个朋友问我mba怎么样了,所以今天尽量客观
程序员一般通过什么途径接私活?
二哥,你好,我想知道一般程序猿都如何接私活,我也想接,能告诉我一些方法吗? 上面是一个读者“烦不烦”问我的一个问题。其实不止是“烦不烦”,还有很多读者问过我类似这样的问题。 我接的私活不算多,挣到的钱也没有多少,加起来不到 20W。说实话,这个数目说出来我是有点心虚的,毕竟太少了,大家轻喷。但我想,恰好配得上“一般程序员”这个称号啊。毕竟苍蝇再小也是肉,我也算是有经验的人了。 唾弃接私活、做外
ES6基础-ES6的扩展
进行对字符串扩展,正则扩展,数值扩展,函数扩展,对象扩展,数组扩展。 开发环境准备: 编辑器(VS Code, Atom,Sublime)或者IDE(Webstorm) 浏览器最新的Chrome 字符串的扩展: 模板字符串,部分新的方法,新的unicode表示和遍历方法: 部分新的字符串方法 padStart,padEnd,repeat,startsWith,endsWith,includes 字
Python爬虫爬取淘宝,京东商品信息
小编是一个理科生,不善长说一些废话。简单介绍下原理然后直接上代码。 使用的工具(Python+pycharm2019.3+selenium+xpath+chromedriver)其中要使用pycharm也可以私聊我selenium是一个框架可以通过pip下载 pip install selenium -i https://pypi.tuna.tsinghua.edu.cn/simple/ 
阿里程序员写了一个新手都写不出的低级bug,被骂惨了。
你知道的越多,你不知道的越多 点赞再看,养成习惯 本文 GitHub https://github.com/JavaFamily 已收录,有一线大厂面试点思维导图,也整理了很多我的文档,欢迎Star和完善,大家面试可以参照考点复习,希望我们一起有点东西。 前前言 为啥今天有个前前言呢? 因为你们的丙丙啊,昨天有牌面了哟,直接被微信官方推荐,知乎推荐,也就仅仅是还行吧(心里乐开花)
Java工作4年来应聘要16K最后没要,细节如下。。。
前奏: 今天2B哥和大家分享一位前几天面试的一位应聘者,工作4年26岁,统招本科。 以下就是他的简历和面试情况。 基本情况: 专业技能: 1、&nbsp;熟悉Sping了解SpringMVC、SpringBoot、Mybatis等框架、了解SpringCloud微服务 2、&nbsp;熟悉常用项目管理工具:SVN、GIT、MAVEN、Jenkins 3、&nbsp;熟悉Nginx、tomca
Python爬虫精简步骤1 获取数据
爬虫的工作分为四步: 1.获取数据。爬虫程序会根据我们提供的网址,向服务器发起请求,然后返回数据。 2.解析数据。爬虫程序会把服务器返回的数据解析成我们能读懂的格式。 3.提取数据。爬虫程序再从中提取出我们需要的数据。 4.储存数据。爬虫程序把这些有用的数据保存起来,便于你日后的使用和分析。 这一篇的内容就是:获取数据。 首先,我们将会利用一个强大的库——requests来获取数据。 在电脑上安装
作为一个程序员,CPU的这些硬核知识你必须会!
CPU对每个程序员来说,是个既熟悉又陌生的东西? 如果你只知道CPU是中央处理器的话,那可能对你并没有什么用,那么作为程序员的我们,必须要搞懂的就是CPU这家伙是如何运行的,尤其要搞懂它里面的寄存器是怎么一回事,因为这将让你从底层明白程序的运行机制。 随我一起,来好好认识下CPU这货吧 把CPU掰开来看 对于CPU来说,我们首先就要搞明白它是怎么回事,也就是它的内部构造,当然,CPU那么牛的一个东
破14亿,Python分析我国存在哪些人口危机!
2020年1月17日,国家统计局发布了2019年国民经济报告,报告中指出我国人口突破14亿。 猪哥的朋友圈被14亿人口刷屏,但是很多人并没有看到我国复杂的人口问题:老龄化、男女比例失衡、生育率下降、人口红利下降等。 今天我们就来分析一下我们国家的人口数据吧! 更多有趣分析教程,扫描下方二维码关注vx公号「裸睡的猪」 即可查看! 一、背景 1.人口突破14亿 2020年1月17日,国家统计局发布
web前端javascript+jquery知识点总结
Javascript javascript 在前端网页中占有非常重要的地位,可以用于验证表单,制作特效等功能,它是一种描述语言,也是一种基于对象(Object)和事件驱动并具有安全性的脚本语言 ,语法同java类似,是一种解释性语言,边执行边解释。 JavaScript的组成: ECMAScipt 用于描述: 语法,变量和数据类型,运算符,逻辑控制语句,关键字保留字,对象。 浏览器对象模型(Br
Qt实践录:开篇
本系列文章介绍笔者的Qt实践之路。 背景 笔者首次接触 Qt 大约是十多年前,当时试用了 Qt ,觉得不如 MFC 好用。现在 Qt 的 API、文档等都比较完善,在年初决定重新拾起,正所谓技多不压身,将 Qt 当为一种谋生工具亦未尝不可。利用春节假期的集中时间,快速专攻一下。 本系列名为“Qt实践”,故不是教程,笔者对 Qt 的定位是“使用”,可以帮助快速编写日常的工具,如串口、网络等。所以不
在家远程办公效率低?那你一定要收好这个「在家办公」神器!
相信大家都已经收到国务院延长春节假期的消息,接下来,在家远程办公可能将会持续一段时间。 但是问题来了。远程办公不是人在电脑前就当坐班了,相反,对于沟通效率,文件协作,以及信息安全都有着极高的要求。有着非常多的挑战,比如: 1在异地互相不见面的会议上,如何提高沟通效率? 2文件之间的来往反馈如何做到及时性?如何保证信息安全? 3如何规划安排每天工作,以及如何进行成果验收? ......
作为一个程序员,内存和磁盘的这些事情,你不得不知道啊!!!
截止目前,我已经分享了如下几篇文章: 一个程序在计算机中是如何运行的?超级干货!!! 作为一个程序员,CPU的这些硬核知识你必须会! 作为一个程序员,内存的这些硬核知识你必须懂! 这些知识可以说是我们之前都不太重视的基础知识,可能大家在上大学的时候都学习过了,但是嘞,当时由于老师讲解的没那么有趣,又加上这些知识本身就比较枯燥,所以嘞,大家当初几乎等于没学。 再说啦,学习这些,也看不出来有什么用啊!
这个世界上人真的分三六九等,你信吗?
偶然间,在知乎上看到一个问题 一时间,勾起了我深深的回忆。 以前在厂里打过两次工,做过家教,干过辅导班,做过中介。零下几度的晚上,贴过广告,满脸、满手地长冻疮。   再回首那段岁月,虽然苦,但让我学会了坚持和忍耐。让我明白了,在这个世界上,无论环境多么的恶劣,只要心存希望,星星之火,亦可燎原。   下文是原回答,希望能对你能有所启发。   如果我说,这个世界上人真的分三六九等,
为什么听过很多道理,依然过不好这一生?
记录学习笔记是一个重要的习惯,不希望学习过的东西成为过眼云烟。做总结的同时也是一次复盘思考的过程。 本文是根据阅读得到 App上《万维钢·精英日课》部分文章后所做的一点笔记和思考。学习是一个系统的过程,思维模型的建立需要相对完整的学习和思考过程。以下观点是在碎片化阅读后总结的一点心得总结。
B 站上有哪些很好的学习资源?
哇说起B站,在小九眼里就是宝藏般的存在,放年假宅在家时一天刷6、7个小时不在话下,更别提今年的跨年晚会,我简直是跪着看完的!! 最早大家聚在在B站是为了追番,再后来我在上面刷欧美新歌和漂亮小姐姐的舞蹈视频,最近两年我和周围的朋友们已经把B站当作学习教室了,而且学习成本还免费,真是个励志的好平台ヽ(.◕ฺˇд ˇ◕ฺ;)ノ 下面我们就来盘点一下B站上优质的学习资源: 综合类 Oeasy: 综合
雷火神山直播超两亿,Web播放器事件监听是怎么实现的?
Web播放器解决了在手机浏览器和PC浏览器上播放音视频数据的问题,让视音频内容可以不依赖用户安装App,就能进行播放以及在社交平台进行传播。在视频业务大数据平台中,播放数据的统计分析非常重要,所以Web播放器在使用过程中,需要对其内部的数据进行收集并上报至服务端,此时,就需要对发生在其内部的一些播放行为进行事件监听。 那么Web播放器事件监听是怎么实现的呢? 01 监听事件明细表 名
3万字总结,Mysql优化之精髓
本文知识点较多,篇幅较长,请耐心学习 MySQL已经成为时下关系型数据库产品的中坚力量,备受互联网大厂的青睐,出门面试想进BAT,想拿高工资,不会点MySQL优化知识,拿offer的成功率会大大下降。 为什么要优化 系统的吞吐量瓶颈往往出现在数据库的访问速度上 随着应用程序的运行,数据库的中的数据会越来越多,处理时间会相应变慢 数据是存放在磁盘上的,读写速度无法和内存相比 如何优化 设计
一条链接即可让黑客跟踪你的位置! | Seeker工具使用
搬运自:冰崖的部落阁(icecliffsnet) 严正声明:本文仅限于技术讨论,严禁用于其他用途。 请遵守相对应法律规则,禁止用作违法途径,出事后果自负! 上次写的防社工文章里边提到的gps定位信息(如何防止自己被社工或人肉) 除了主动收集他人位置信息以外,我们还可以进行被动收集 (没有技术含量) Seeker作为一款高精度地理位置跟踪工具,同时也是社交工程学(社会工程学)爱好者...
作为程序员的我,大学四年一直自学,全靠这些实用工具和学习网站!
我本人因为高中沉迷于爱情,导致学业荒废,后来高考,毫无疑问进入了一所普普通通的大学,实在惭愧...... 我又是那么好强,现在学历不行,没办法改变的事情了,所以,进入大学开始,我就下定决心,一定要让自己掌握更多的技能,尤其选择了计算机这个行业,一定要多学习技术。 在进入大学学习不久后,我就认清了一个现实:我这个大学的整体教学质量和学习风气,真的一言难尽,懂的人自然知道怎么回事? 怎么办?我该如何更好的提升
前端JS初级面试题二 (。•ˇ‸ˇ•。)老铁们!快来瞧瞧自己都会了么
1. 传统事件绑定和符合W3C标准的事件绑定有什么区别? 传统事件绑定 &lt;div onclick=""&gt;123&lt;/div&gt; div1.onclick = function(){}; &lt;button onmouseover=""&gt;&lt;/button&gt; 注意: 如果给同一个元素绑定了两次或多次相同类型的事件,那么后面的绑定会覆盖前面的绑定 (不支持DOM事...
相关热词 c#导入fbx c#中屏蔽键盘某个键 c#正态概率密度 c#和数据库登陆界面设计 c# 高斯消去法 c# codedom c#读取cad文件文本 c# 控制全局鼠标移动 c# temp 目录 bytes初始化 c#
立即提问