在Android eclipse上运行程序显示到虚拟手机上出现下面这个错误,大神帮忙分析分析

图片说明

2个回答

遇到:No content provider found for permission revoke:
说明是缺少安装的权限,
解决方案:
在权限里添加下面权限,不知道为什么前两次回答都不显示:
android.permission.INSTALL_LOCATION_PROVIDER

如果回答对您有帮助,请采纳

u012216727
大河行脚 或者你找找看有没有其他的安装权限啊,也可能不是这个呢?
4 年多之前 回复
u012216727
大河行脚 这个warnning说这个权限只能授权给系统的应用程序;你忽略它看看行不行;如果回答对您有帮助,请采纳
4 年多之前 回复
zxcvasdfqwerrfv
zxcvasdfqwerrfv 应该是这个问题了,但加了这句话显示warnning:Permission is only granted to system apps,这句话应该还是没起作用
4 年多之前 回复
zxcvasdfqwerrfv
zxcvasdfqwerrfv 应该是这个问题了,但加了这句话显示warnning:Permission is only granted to system apps,这句话应该还是没起作用
4 年多之前 回复

没有创建或者在manifest中声明对应的provider

forlong401
forlong401 回复zxcvasdfqwerrfv: 那就是只有系统的app可以调用。
4 年多之前 回复
zxcvasdfqwerrfv
zxcvasdfqwerrfv 加了权限出了warnning,Permission is only granted to system apps
4 年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
帮忙分析下面程序
#define REG32 __IO volatile unsigned longrn#define INPORT32(port) ((*(REG32 *)(port)))rnrn这里__IO是什么目的?rnREG32 * 是将指针指向的数据转换成REG32类型的意思吗?rn谢谢!
帮忙分析一下这个程序如何运行
rnclass Puzzle4brn int ivar;rn public int doStuff(int factor)rn if(ivar>100)rn return ivar*factor;rn rn elsern return ivar*(5-factor);rn rn rnrnpublic class Puzzle4 rnrn /**rn * @param argsrn */rn public static void main(String[] args) rn // TODO Auto-generated method stubrn Puzzle4b [] obs=new Puzzle4b[6];rn int y=1;rn int x=0;rn int result=0;rn while(x<6)rn obs[x]=new Puzzle4b();rn obs[x].ivar=y;rn y=y*10;rn x=x+1;rn rn x=6;rn while(x>0)rn x-=1;rn result =result+obs[x].doStuff(x);rn rn System.out.println("result:"+" "+result);rn rnrn
请帮忙分析这个c++程序的错误
#include rnusing namespace std; rnclass SimpleCircle rn rnpublic: rn//constructors rnSimpleCircle(); rnSimpleCircle(int); rnSimpleCircle(const SimpleCircle &); rn~SimpleCircle() rn//accessor functions rnvoid SetRadius(int); rnint GetRadius() const; rnrn//operators rnconst SimpleCircle & operator++(); rnconst SimpleCircle operator++(int); rnSimpleCircle & operator=(const SimpleCircle &); rnprivate: rnint *itsRadius; rn; rnrnSimpleCircle::SimpleCircle() rnitsRadius=new int(5); rnrnSimpleCircle::SimpleCircle(int radius) rnitsRadius=new int(radius); rnrnSimpleCircle::SimpleCircle(const SimpleCircle &rhs) rn rnint val=rhs.GetRadius(); rnitsRadius=new int(val); rn rnrnSimpleCircle& SimpleCircle::operator=(const SimpleCircle & rhs) rn rnif (this==&rhs) rnreturn *this; rn*itsRadius=rhs.GetRadius(); rnreturn *this; rn rnrnconst SimpleCircle & SimpleCircle::operator++() rn rn++itsRadius; rnreturn *this; rn rnrn//operator ++(int) postfix rn//Fetch then increment rnconst SimpleCircle SimpleCircle::operator++ (int) rn rn//declare local SimpleCircle and initialize to value of *this rnSimpleCircle temp(*this); rn++itsRadius; rnreturn temp; rn rnrnint SimpleCircle::GetRadius() const rn rnreturn *itsRadius; rn rnrnint main() rn rnSimpleCircle CircleOne; rnSimpleCircle CircleTwo(9); rn++CircleOne; rnCircleTwo++; rncout<<"CircleOne: "<
android计算机实现手机上运行
这是我自己编写的一段关于计算机的程序代码,并且有详细的步骤,希望能给你带来帮助。
android程序在虚拟机上运行出错
具体错误如下:[img=https://img-bbs.csdn.net/upload/201404/19/1397922497_958011.jpg][/img]rn我每次更改后存储,都会有错误产生[img=https://img-bbs.csdn.net/upload/201404/19/1397922610_791980.jpg][/img]rnrnrn具体代码如下:rn//main_activity.javarnrnpackage com.Dylan.s01_e05_view;rnrnimport android.os.Bundle;rnimport android.support.v4.app.Fragment;rnimport android.support.v7.app.ActionBarActivity;rnimport android.view.LayoutInflater;rnimport android.view.Menu;rnimport android.view.MenuItem;rnimport android.view.View;rnimport android.view.ViewGroup;rnimport android.widget.TextView;rnrnpublic class MainActivity extends ActionBarActivity rn rn private TextView textView;rn rn @Overridern protected void onCreate(Bundle savedInstanceState) rn super.onCreate(savedInstanceState);rn setContentView(R.layout.activity_main);rn rn textView = (TextView)findViewById(R.id.textView);rn textView.setText("Hello Dylan");rn if (savedInstanceState == null) rn getSupportFragmentManager().beginTransaction()rn .add(R.id.container, new PlaceholderFragment()).commit();rn rn rnrn @Overridern public boolean onCreateOptionsMenu(Menu menu) rnrn // Inflate the menu; this adds items to the action bar if it is present.rn getMenuInflater().inflate(R.menu.main, menu);rn return true;rn rnrn @Overridern public boolean onOptionsItemSelected(MenuItem item) rn // Handle action bar item clicks here. The action bar willrn // automatically handle clicks on the Home/Up button, so longrn // as you specify a parent activity in AndroidManifest.xml.rn int id = item.getItemId();rn if (id == R.id.action_settings) rn return true;rn rn return super.onOptionsItemSelected(item);rn rnrn /**rn * A placeholder fragment containing a simple view.rn */rn public static class PlaceholderFragment extends Fragment rn// private TextView textView;rnrn public PlaceholderFragment() rn rn rn @Overridern public View onCreateView(LayoutInflater inflater, ViewGroup container,rn Bundle savedInstanceState) rn rn View rootView = inflater.inflate(R.layout.fragment_main, container,rn false);rn return rootView;rn rn rnrnrnrnrnfragment_main.xml文件如下rnrnrn rnrnrnrnactivity_main.xml文件没有修改rnrn查了一晚上的资料,都没有解决,求大神帮忙啊。。。rnPS:小小白一个。。。rnrnrn
下面情况帮忙分析
假如在main函数外面定义一个变量,简单描述一下:rnint var = 20;rnint main()rnrn int i = i;rnrn这样会发生什么样的事情?
手机上运行c程序
我在电脑上先写好程序,请问用什么编译器编译才能使他在手机上运行呢?手机是windows6.5的系统
帮忙分析一下这个程序
首先声明,这个程序不是我自己写的,是从网上找来的,具体是那个网站已经不记得了。rn这是一个俄罗斯方块的程序,用javascript写的,相信很多人可能见过,好了,先下代码:rnrnrn rn rnrn rn rn rn rn rn rn Newrn Pausern rn rnrnrn
各位帮忙分析下这个程序
#include rnrnclass Timernrnpublic:rnint advanced();rnvoid reset();rnprotected:rnint hour;rnint min;rnint sec;rnprivate:rnint choice;rnint n; rnrn;rnrnrnrnrnTime::advanced(int h,int m,int s)rnrnint h1,m1,s1;rncout<<"输入你所在时区的时间(北京时间):"<>h;rncout<<"输入分钟(0-59):"<>m;rncout<<"输入秒(0-59):"<>s;rnh1=h;rnm1=m;rns1=s;rnreturn 0;rnrnvoid Time::reset()rnrncout<<"选择你所想要转换的时区:"<>choice;rnrn if(choice==1)rnrncout<<"你要查询的是东n区,输入n:"<>n;rn cout<<"你输入的是东<>n;rn cout<<"你输入的是西<>hour>>min>>sec;rnTime a;rna.advanced ();rna.reset();rnreturn 0;rnrnrnrn这个程序是我在网上看的别人的,搞不懂哪里错了,帮忙改一下,先谢谢各位大侠了!!!!!!!!!!!!!!!!!
哪位大神帮忙分析下
select AKB020,AKC190,AKC220,AAE072,AKC515,AKA135,AAC001,AKC516,AKC221,AAE040,AKC222,AKC223,AKA063,AKA065,AKC224,AKA113,AKC225,AKC226,AKC227,AKC228,AKC334,AKA068,AKC253,AKA069,AAE073,AKA064,AKA070,AKA097,AKC229,AKA071,AKA072,AKC202,AKA073,AKA076,AKC201,AKC325,AKC125,AAE100,AKC301,AKC127,AKC347,AKC384,AKC378,AKC379,AKC380,AKC381,AKC382,AKC383,AAE011,AAE036,OAE001,OAE300,OAE301,AKA609,AKC319,AKC163,AKA231,BKC228,AKA163 from kc22 where akb020 = :"SYS_B_0"and akc190 = :"SYS_B_1" and aae100 = :"SYS_B_2"rnrnrn在pl/sql中秒出结果,在程序中死活通不过。
求大神帮忙分析
数据库中有很多账单,想知道这些账单中哪两种商品的组合谁最高的应该怎么分析。其中这些商品都是零散的卖的
求大神帮忙分析。。
题目 ;利用正则和鼠标事件,写一个过滤HTML标签的文本域控件,如果在文本域中输入html标签,当光标一旦离开文本域,则其中所有html会自动消失。
求助大神帮忙分析
本人刚入行php。最近公司要求做一个后台页面,也就增删改查的任务。所有功能在本地电脑上都可以实现使用。发布到外网上后发现删除和修改功能有问题。本地差不出错在哪里。有大神能帮我分析下原因吗。数据库看过了,字段名都相同。
求助:请大神帮忙分析下这个运行日志
我用Android版的VLC播放网络摄像机的实时流的时候,在手机上运行VLC时可以看到视频,而将VLC运行到另外的一个开发板(Android)上时,没有画面,只有进度时间在走!rn[img=https://img-bbs.csdn.net/upload/201409/05/1409898940_787042.jpg][/img]这个是在开发板上运行时VLC的信息
Eclipse出现的错误,求大神帮忙解决
013-3-10 14:37:39 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jdk1.6.0_10\bin;E:\apache-tomcat-6.0.33\binrn2013-3-10 14:37:40 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2013-3-10 14:37:40 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 364 msrn2013-3-10 14:37:40 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2013-3-10 14:37:40 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.33rn2013-3-10 14:37:40 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor host-manager.xmlrn2013-3-10 14:37:40 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor manager.xmlrn2013-3-10 14:37:40 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory docsrn2013-3-10 14:37:40 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory examplesrn2013-3-10 14:37:40 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: contextInitialized()rn2013-3-10 14:37:40 org.apache.catalina.core.ApplicationContext logrn信息: SessionListener: contextInitialized()rn2013-3-10 14:37:40 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory luresrn2013-3-10 14:37:40 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory ROOTrn2013-3-10 14:37:40 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory xinlirn2013-3-10 14:37:40 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2013-3-10 14:37:40 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2013-3-10 14:37:40 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/16 config=nullrn2013-3-10 14:37:40 org.apache.catalina.startup.Catalina startrn信息: Server startup in 834 msrn
tomcat启动报错,大神们帮忙分析分析
严重: Error configuring application listener of class org.springframework.web.context.request.RequestContextListenernjava.lang.ClassNotFoundException: org.springframework.web.context.request.RequestContextListenern at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892)n at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)n at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:495)n at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:477)n at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:113)n at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5034)n at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)n at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)n at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)n at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)n at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)n at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260)n at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002)n at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)n at java.util.concurrent.FutureTask.run(FutureTask.java:262)n at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)n at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)n at java.lang.Thread.run(Thread.java:745)
请各位帮忙分析下面程序?
我知下面程序为判断文件FileName是否有属情,但为什么这样写,rnFileGetAttr(FileName)意思是返回文件属性,Attr意思是属性;rn文件属性(and)与属性(=)等于属性,与判断文件FileName是否有属情有什么关系?rnfunction HasAttr(const FileName:string; Attr:word):boolean;rnbeginrn Result:=(FileGetAttr(FileName) and Attr)=Attr;rnend;
android studio 导入工程运行报错,大神帮忙分析下!
otal time: 4.3 secsrnExecuting tasks: [:workspaceH:clean, :workspaceH:generateDebugSources, :workspaceH:generateDebugAndroidTestSources, :workspaceH:prepareDebugUnitTestDependencies, :workspaceH:mockableAndroidJar, :workspaceH:assembleDebug]rnrnConfiguration on demand is an incubating feature.rnIncremental java compilation is an incubating feature.rn:workspaceH:cleanrn:workspaceH:preBuild UP-TO-DATErn:workspaceH:preDebugBuild UP-TO-DATErn:workspaceH:checkDebugManifestrn:pushSDK:preBuild UP-TO-DATErn:pushSDK:preReleaseBuild UP-TO-DATErn:pushSDK:compileReleaseNdk UP-TO-DATErn:pushSDK:compileLintrn:pushSDK:copyReleaseLint UP-TO-DATErn:pushSDK:mergeReleaseProguardFiles UP-TO-DATErn:pushSDK:packageReleaseRenderscript UP-TO-DATErn:pushSDK:checkReleaseManifestrn:pushSDK:prepareReleaseDependenciesrn:pushSDK:compileReleaseRenderscript UP-TO-DATErn:pushSDK:generateReleaseResValues UP-TO-DATErn:pushSDK:generateReleaseResources UP-TO-DATErn:pushSDK:packageReleaseResources UP-TO-DATErn:pushSDK:compileReleaseAidl UP-TO-DATErn:pushSDK:generateReleaseBuildConfig UP-TO-DATErn:pushSDK:mergeReleaseShaders UP-TO-DATErn:pushSDK:compileReleaseShaders UP-TO-DATErn:pushSDK:generateReleaseAssets UP-TO-DATErn:pushSDK:mergeReleaseAssets UP-TO-DATErn:pushSDK:processReleaseManifest UP-TO-DATErn:pushSDK:processReleaseResources UP-TO-DATErn:pushSDK:generateReleaseSources UP-TO-DATErn:pushSDK:incrementalReleaseJavaCompilationSafeguard UP-TO-DATErn:pushSDK:compileReleaseJavaWithJavac UP-TO-DATErn:pushSDK:processReleaseJavaRes UP-TO-DATErn:pushSDK:transformResourcesWithMergeJavaResForRelease UP-TO-DATErn:pushSDK:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATErn:pushSDK:mergeReleaseJniLibFolders UP-TO-DATErn:pushSDK:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATErn:pushSDK:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATErn:pushSDK:bundleRelease UP-TO-DATErn:workspaceH:preReleaseBuild UP-TO-DATErn:workspaceH:prepareComAndroidSupportSupportV42000Libraryrn:workspaceH:prepareWorkspaceH2PushSDKUnspecifiedLibraryrn:workspaceH:prepareDebugDependenciesrn:workspaceH:compileDebugAidlrn:workspaceH:compileDebugRenderscriptrn:workspaceH:generateDebugBuildConfigrn:workspaceH:mergeDebugShadersrn:workspaceH:compileDebugShadersrn:workspaceH:generateDebugAssetsrn:workspaceH:mergeDebugAssetsrn:workspaceH:generateDebugResValues UP-TO-DATErn:workspaceH:generateDebugResourcesrn:workspaceH:mergeDebugResourcesrnAAPT: ERROR: 9-patch image /home/user/AndroidStudioProjects/WorkspaceH2/workspaceH/src/main/res/drawable-hdpi/img_title.9.png malformed.rnAAPT: Must have one-pixel frame that is either transparent or white.rnAAPT: ERROR: 9-patch image /home/user/AndroidStudioProjects/WorkspaceH2/workspaceH/src/main/res/drawable-hdpi/tab_unread_bg.9.png malformed.rnAAPT: No marked region found along edge.rnAAPT: Found along left edge.rnAAPT: ERROR: 9-patch image /home/user/AndroidStudioProjects/WorkspaceH2/workspaceH/src/main/res/drawable-hdpi/cell_bg.9.png malformed.rnAAPT: Image must be at least 3x3 (1x1 without frame) pixels.rnAAPT: ERROR: 9-patch image /home/user/AndroidStudioProjects/WorkspaceH2/workspaceH/src/main/res/drawable-hdpi/back_tm_n.9.png malformed.rnAAPT: Must have one-pixel frame that is either transparent or white.rnAAPT: ERROR: 9-patch image /home/user/AndroidStudioProjects/WorkspaceH2/workspaceH/src/main/res/drawable-hdpi/back_tm_h.9.png malformed.rnAAPT: Must have one-pixel frame that is either transparent or white.rnAAPT: libpng error: Not a PNG filern:workspaceH:mergeDebugResources FAILEDrnrnFAILURE: Build failed with an exception.rnrn[color=#FF0000]* What went wrong:rnExecution failed for task ':workspaceH:mergeDebugResources'.rn> Crunching Cruncher cell_bg.9.png failed, see logs[/color]rnrn* Try:rnRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.rnrnBUILD FAILEDrnrnTotal time: 4.088 secsrn
疑惑,求大神分析下这个程序的运行结果!
源代码:rnrn#include rnvoid up_and_down(int);rnrnint main(void)rnrn up_and_down(1);rn return 0;rnrnrnvoid up_and_down(int n)rnrn printf("Level %d: n location %p\n", n, &n); /* 1 */rn if (n < 4)rn up_and_down(n+1);rn printf("LEVEL %d: n location %p\n", n, &n); /* 2 */rnrnrn我认为运行结果因该是:rnLevel 1: n location 0xbfed0f30rnLevel 2: n location 0xbfed0f10rnLevel 3: n location 0xbfed0ef0rnLevel 4: n location 0xbfed0ed0rnLEVEL 4: n location 0xbfed0ed0rn而正确的运行结果偏偏是:rnLevel 1: n location 0xbfed0f30rnLevel 2: n location 0xbfed0f10rnLevel 3: n location 0xbfed0ef0rnLevel 4: n location 0xbfed0ed0rnLEVEL 4: n location 0xbfed0ed0rnLEVEL 3: n location 0xbfed0ef0 rnLEVEL 2: n location 0xbfed0f10rnLEVEL 1: n location 0xbfed0f30rnrn求解!rnrn
手机上运行项目
1:获取电脑网络ip地址(注意:手机端与电脑端需在同一无线局域网下,可电脑连接手机热点) 在命令行输入:ipconfig 回车后获取到ip地址: 如图中的IPv4 地址 . . . . . . . . . . . . : 172.20.10.3 2:将获取到的地址替换项目中的http:localhost:8080地址 具体步骤:打开项目中的package.json文件,将scripts中的内容修...
求大神帮忙解决, hibernate配置后运行出现了这个错误
这是 hibernate.cgf.xml的配置文件: &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt; &amp;lt;!DOCTYPE hibernate-configuration PUBLIC &quot;-//Hibernate/Hibernate Configuration DTD 3.0//EN&quot; &quot;http://hibernate.sourceforge....
求分析这个错误
java.sql.SQLException: [Microsoft][ODBC Microsoft Access ?????] Microsoft Jet ??ݿ??????Ҳ??????????ѯ 'sensortab'?? ȷ?????Ƿ???ڣ??Լ??????Ƶ?ƴд?Ƿ???ȷ??rn at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6957)rn at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7114)rn at sun.jdbc.odbc.JdbcOdbc.SQLExecute(JdbcOdbc.java:3149)rn at sun.jdbc.odbc.JdbcOdbcPreparedStatement.execute(JdbcOdbcPreparedStatement.java:216)rn at sun.jdbc.odbc.JdbcOdbcPreparedStatement.executeQuery(JdbcOdbcPreparedStatement.java:91)rn at com.tongji.sql.SensorDB.(SensorDB.java:81)rn at com.tongji.sql.SensorDB.main(SensorDB.java:114)
帮忙分析 运行.aspx页面出现的错误提示
运行.aspx页面出现下面的错误提示:rnThe .Net Data OLE DB Provider(System.Data.OleDb) requires Microsoft Data Access Components(MDAC) version 2.6 or later. Version 2.50.4403.8 was found currently installed. rn应该是安装Microsoft Data Access Components(MDAC) version 2.6 or later,我重新装了2.7version,再次运行,还是这样的提示,请问这是为什么?
帮忙分析下哪里错误
其中sortup是表单提交过来的参数,topmoney并没有存在在数据库中.运行的时候提示59错误rnrn54 //对保存的内容进行处理rn55 rn56 $sortrank = AddDay($pubdate,$sortup);rn57 $topMoney = $sortup*10rn58//处理需要下载权限的软件rn59 if($topMoney>0)rn60 rn61 require_once(DEDEINC.'/memberlogin.class.php');rn62 $cfg_ml = new MemberLogin();rn63 //以下为正常情况,自动扣点数 rn64 rn65rn66 //没有足够的金币rn67 if( $topMoney > $cfg_ml->M_Money || $cfg_ml->M_Money=='')rn68 rn69 $msgtitle = "你没有权限下载软件:$arctitle!";rn70 $moremsg = "这个软件需要 ".$topMoney." 金币 才能下载,你目前拥71有金币:".$cfg_ml->M_Money." 个 !";rn72 include_once(DEDETEMPLATE.'/plus/view_msg.htm');rn73 exit(0);rn74 rn75 //记录定单rn76 if( !$dsql->ExecuteNoneQuery($inquery) )rn77 rn78 ShowMsg('记录定单失败, 请返回', '-1');rn79 exit(0);rn80 rn81 //扣除金币rn82 $dsql->ExecuteNoneQuery("UPDATE `#@__member` SET money = money - $topMoney WHERE 83mid='".$cfg_ml->M_ID."'");rn84
帮忙分析一下错误。
#includernmain ()rnrnint product;rnfloat s1=0,s2=0,s3=0,s4=0,s5=0,pr;rnprintf ("Enter the product number.\n");rnprintf ("Enter the EOF character to end input.\n");rnwhile ( (product=getchar()) != EOF )rnswitch (product)rn case '1':rn s1+=2.98;rn break;rn case '2':rn s2+=4.50;rn break;rn case '3':rn s3+=9.98;rn break;rn case '4':rn s4+=4.49;rn break;rn case '5':rn s5+=6.87;rn break;rndefault:rn printf ("Incorrect product number entered.");rn break;rn rn rnprintf ("\nsum for each prouduct are:\n");rnprintf ("s1=%.2f\n",s1);rnprintf ("s2=%.2f\n",s2);rnprintf ("s3=%.2f\n",s3);rnprintf ("s4=%.2f\n",s4);rnprintf ("s5=%.2f\n",s5);rnZrn rn rn
帮忙分析下面的错误??
本人做了一个进行刚度计算的web service。部署在localhost上。rn然后在vs.net中建立一个aspx应用程序来调用它,在提交表单后出现下面的错误,不知如何解决??rnrnrn请求因 HTTP 状态 401 失败:Access Denied。 rn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 rnrn异常详细信息: System.Net.WebException: 请求因 HTTP 状态 401 失败:Access Denied。rnrn源错误: rnrnrn行 58: _rn行 59: Public Function DeepGrooveBallB1(ByVal power As Decimal, ByVal ballnum As Decimal, ByVal balldia As Decimal, ByVal angle As Decimal) As Decimalrn行 60: Dim results() As Object = Me.Invoke("DeepGrooveBallB1", New Object() power, ballnum, balldia, angle)rn行 61: Return CType(results(0),Decimal)rn行 62: End Functionrn rnrn源文件: D:\ASP.NET\WebAppsitff\Web References\pxd\Reference.vb 行: 60 rnrn
请帮忙分析下怎么会出现内存的错误!
#include rn#include rn#include rn#include rnusing namespace std;rn//using std::string;rnvoid main()rnrn string s1,s2,s3="\0";rn// cin>>s1>>s2;rn// cout<>s1>>s2;rn// cout<
帮忙分析下这个存储过程
一位网友的存储过程如下:rnALTER proc [dbo].[pxryInfo_AllowPageing]rn@pageIndex int,rn@pageEnd intrnasrnbeginrn with temp as( rn select Row_Number() over(order by p.ID desc) as row,* FROM [CS_pxryInfo] as p) rnselect * from temp where row between @pageIndex and @pageEndrnendrnrn问题一:“@pageIndex”和"@pageEnd",不是不是表示每页的第一行记录和最后一行记录?rnrn问题二:“with temp as( select Row_Number() over(order by p.ID desc) as row,* FROM [CS_pxryInfo] as p) ”一句是不是表示“创建一个叫做Temp的,根据[CS_pxryInfo]表按照自己的ID进行倒排序,得到的临时表”?rnrn问题三:“select * from temp where row between @pageIndex and @pageEnd”表示查询第“@pageIndex”和“@pageEnd”之间的记录?rnrn可是这样穿不起来啊,还是理解不了它的功能?那位大侠给解释下,感激不尽。。。
帮忙分析下这个游标
小弟对数据库知识水平甚缺,请教各位高手,这个游标会不会在多用户使用的时候,造成死锁,如果发生死锁,是怎么处理游标中的数据呢?rn[code=SQL]rnrn declare curn cursor forrn select ActionId,ItemId,GroupIDrn ,Medicare,MedicareRate,BeginTimern ,[Name],[Type],Categoryrn ,Code,Usage,TotalDosagern ,TotalDosageUnit,OneDosageUnit,Frequencyrn ,PackQty,OneDosage,BaseQtyrn ,Drugstore,AdviceItem,ChildrenRatern ,CurDoctorId,CurDoctorName,Remark,AdviceIdrn from emrPrescribe rn where PatientNo=@PatientNo rn and ExecuteTime=@ExecuteTimern open curnrn fetch next from curn into @Actionid,@ItemId,@GroupIDrn ,@Medicare,@MedicareRate,@BeginTimern ,@Name,@Type,@Categoryrn ,@Code,@Usage,@TotalDosagern ,@TotalDosageUnit,@OneDosageUnit,@Frequencyrn ,@PackQty,@OneDosage,@BaseQtyrn ,@Drugstore,@AdviceItem,@ChildrenRatern ,@CurDoctorId,@CurDoctorName,@Remark,@AdviceIdrn WHILE (@@fetch_status = 0)rn begin rn exec submitToLis --@Actionid rn @lisidrn ,@Codern ,@AdviceItemrn ,@BaseQtyrn ,@AdviceCountrn ,@zdrn rn exec submitDrugsToHis @PatientNorn ,@Actionidrn ,@tmpGroupidrn ,@DeptNamern ,@Namern ,@Codern ,@Quantityrn ,@Unitrn ,@DrugstoreTypern ,@DCATypern endrnrn fetch next from curn into @Actionid,@ItemId,@GroupIDrn ,@Medicare,@MedicareRate,@BeginTimern ,@Name,@Type,@Categoryrn ,@Code,@Usage,@TotalDosagern ,@TotalDosageUnit,@OneDosageUnit,@Frequencyrn ,@PackQty,@OneDosage,@BaseQtyrn ,@Drugstore,@AdviceItem,@ChildrenRatern ,@CurDoctorId,@CurDoctorName,@Remark,@AdviceIdrn end rn close curnrn deallocate curnrn[/code]
大侠帮忙分析我的这个错误谢谢
错误类型:rnActive Server Pages, ASP 0113 (0x80004005)rn超过了脚本运行的最长时间。可以为 Server.ScriptTimeOut 属性指定新值或更改 IIS 管理工具中的相应值来更改此限制。rn/myschool/bbs/replyhandle.asprn以前没有这种情况的,就今天,IE打开网页的时候(本地的localhost,我自己的用asp写的网页),非常慢,然后就出现上面的错误,但是上网浏览网页正常,rn另外,我还发现一个情况:就是我们在双击一个access数据库的时候,在你放置数据库的文件夹里会出现一个"数据库记录锁定"文件,名字和数据库一样,后缀是.ldb,关闭数据库后,这个文件就自动不见了,在出现上面的提示错误的时候,我发现,这个文件是一直存在的,在我关闭IE的时候,它才不见了,再打开IE,执行数据库操作的时候,这个文件还会出现,然后就会出现上面的错误rn以前没有这个情况啊!rn大侠帮忙!! rn
请帮忙分析一下这个错误!
我在做用c#实现以Excel表格形式显示数据,调试完成运行时出现如下错误提示:rnrn连接错误!System.Data.OleDb.OleDbException:[DBNETLIB][ConnectionOpen(connect()).]SQL Server 不存在或拒绝访问。rn连接字符串属性无效rnat System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr)rnat System.Data.OleDb.OleDbConnection.InitializeProvider()rnat System.Data.OleDb.OleDbConnection.open()rnwindowsApplication2.Form1.button1_click(object sender,EventArgs e)inrnd:\…\windowsapplication2\excel.cs line82rnrn=========================rn错误所在行rn……rn80行:string strCon="Provider=SQLOLEDB.1;Persist Security Info = false;User ID=sa;password=******;lnitial Catalog=temp;Data Source=Localhost";rn81行:OleDbConnection myConn=new OleDbConnection(strCon);rn82行:myConn.Open();rn……rnrn我是c#语言初学者,不知道80行哪里不对,为什么总是无法连接呢?请高手帮忙!
请各位 帮忙分析一下这个错误
下面是我 trace 到的信息rnrn6/12/2006 5:27:19 PM : Send Mail error : System.Runtime.InteropServices.COMException (0x80040220): The "SendUsing" configuration value is invalid.rnrnrn还有一个 rnrn6/12/2006 6:27:00 PM : DataBase connection error :System.IndexOutOfRangeException: Index was outside the bounds of the array.at SiemensMail.SendNewForRbs.SendMail()rnrn第二个是索引越界了 为什么我不理解 rn在我的环境下同样的代码怎么跑都不越界 到了可户那边就越界 希望高手们帮我解释一下rnrn还有一个错误 写的很清楚 是 configuration 配置文件的值错了 妈的可是我测试代码就是用那个配置 可以通过 到这里就不行了 rnrn
请帮忙分析一下这个错误!
我如此定义了一个函数:rnvoid CMySocket::SetParent(CTalkDlg *p)rn其中CTalkDlg为另一个类.(它对头文件我已经加进去了)rn出错信息如下:rnmysocket.h(15) : error C2061: syntax error : identifier 'CTalkDlg'rnrnE:\网络编程\Talk\MySocket.cpp(63) : error C2511: 'SetParent' : overloaded member function 'void (class CTalkDlg *)' not found in 'CMySocket'rn e:\网络编程\talk\mysocket.h(12) : see declaration of 'CMySocket'rn
请帮忙分析一下这个错误
大家看看这个程序rn#include ;;;;rn///全局变量rnint CHENGSHINUMBER;rnrnrnclass searchrnrn.....rn;rnrnvoid Search::juzhengjinli()rnrn............rnCHENGSHINUMBER=mjken.size();rn.............rnrnrnint Search::mjkensoufuo(string from,string to)rn rn //////////////////////定义队列 队列数量又城市数决定//////////////////rn rn int D[CHENGSHINUMBER];rn deque chengshi(CHENGSHINUMBER);rn bool find[CHENGSHINUMBER]; //表示遍历过那个城市rn int distance;rn deque::iterator iter;rn..............rnrn/////////////这个是编译错误信息 rnD:\vc的程序作业\stlpushback\pushback.cpp(344) : error C2057: expected constant expressionrnD:\vc的程序作业\stlpushback\pushback.cpp(344) : error C2466: cannot allocate an array of constant size 0rnD:\vc的程序作业\stlpushback\pushback.cpp(344) : error C2133: 'D' : unknown sizernD:\vc的程序作业\stlpushback\pushback.cpp(346) : error C2057: expected constant expressionrnD:\vc的程序作业\stlpushback\pushback.cpp(346) : error C2466: cannot allocate an array of constant size 0rnD:\vc的程序作业\stlpushback\pushback.cpp(346) : error C2133: 'find' : unknown sizern rn这个段程序对于我的课程设计来说相当重要 所以希望大家帮我分析一下rnrnrnrn
请大神帮我分析错误
#includern#includernusing namespace std;rnclass Sales_itemrnrnprivate:rn char isbn[20];rn int sales_amount;rn float unit_price;rnpublic:rn int same_isbn(Sales_item b)rn rn Sales_item a;rn if(strcmp(a.isbn,b.isbn)==0) rn return 1;rn else return 0;rn rn;rnrnistream& operator>>(istream& cin,Sales_item&);rnostream& operator<<(ostream& cout,Sales_item&);rn//general skeleton of the overload IO operatorrn//but must know the name of operator character you have definedrnSales_item operator+(const Sales_item&,const Sales_item&);rnrnint main()rnrn //declare variable to hold running sum and data for the next recordrn Sales_item total,trans;rn // is there data to process?rn if(cin>>total)rn rn while(cin>>total)rn if(total.same_isbn(trans))rn //match:update the running totalrn total=total+trans;rn elsern //no match:print&assign to totalrn cout<
请帮分析分析这个连接错误。
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
请大家帮忙分析分析这个网站
http://www.tradersky.com 请大家帮帮我看下这个网站有哪些缺点,需要怎么整改会比较好,谢谢了。在线等。
大神们来帮忙分析下
这两天遇到一个问题,一直没有找到原因。请大神们来帮忙分析下。rn上代码:rn[code=java]import java.io.IOException;rnimport java.io.InputStream;rnimport java.net.HttpURLConnection;rnimport java.net.URL;rnimport java.net.URLConnection;rnrnpublic class Test rn public static void main(String[] arrs)rn String url = "http://7xrpiz.com1.z0.glb.clouddn.com/20180521/房产证_e723126ce5d440d492ee30281603dde1.jpg?xbufop-test/ZGVjcnlwdF9FKzIvbHI1WmQveDFrNUlDdXRrN2tOcUVuTGxGY01TS2U1U3lnaGR2VW9WSjVLWVdmRjU3dzQzalBqV2JpQXcvU2pIZExWMEZsaGlUUUNqaGViUm03dTVPT3ZoWlBpcDJpaWx1NjlEQ1NCdFhNbkNDMWZwaHEvbmdqdS9MTi9YUlFNdFM4Y2xMelNvUXYxME05UTJhR0Y0d1BMUjV2TVdHTFNzMDAvRHF4Z0U9&e=1526889870&token=tPYD3yhB9eKnCBJxrUMtf-Fu5zbvmiH8RaTCdxNx:xBNGMa71XIh4fYsX2NXf8gSnXTs=";rn Test.getInputStreamByGet(url);//Test改为自己的类名rn rnrn public static InputStream getInputStreamByGet(String url) rn try rn URL newUrl = new URL(url);rn URLConnection urlConnection = newUrl.openConnection();rn HttpURLConnection conn = (HttpURLConnection)urlConnection;rn conn.setRequestMethod("GET");rn conn.setReadTimeout(5000);rn conn.setConnectTimeout(5000);rn if (conn.getResponseCode() == HttpURLConnection.HTTP_OK) rn System.out.println("SUCCESS");rn InputStream inputStream = conn.getInputStream();rn return inputStream;rn else if(conn.getResponseCode() == HttpURLConnection.HTTP_UNAUTHORIZED)rn System.out.println("ERROR");rn elsern System.out.println("WHAT ?");rn rnrn catch (IOException e) rn e.printStackTrace();rn rn return null;rn rn[/code]rn很简单的一个方法,输入流获取url的内容。rn问题描述:rn[color=#FF0000]这个方法在别人的电脑上跑都是正常通过返回200 SUCCESS的,但是在我的idea上最近建的工程中就会返回401 ERROE,而之前的工程中缺是200 SUCCESS.[/color]rnrn报错堆栈:rn[code=text]java.io.IOException: Server returned HTTP response code: 401 for URL: http://7xrpiz.com1.z0.glb.clouddn.com/20180521/房产证_e723126ce5d440d492ee30281603dde1.jpg?xbufop-test/ZGVjcnlwdF9FKzIvbHI1WmQveDFrNUlDdXRrN2tOcUVuTGxGY01TS2U1U3lnaGR2VW9WSjVLWVdmRjU3dzQzalBqV2JpQXcvU2pIZExWMEZsaGlUUUNqaGViUm03dTVPT3ZoWlBpcDJpaWx1NjlEQ1NCdFhNbkNDMWZwaHEvbmdqdS9MTi9YUlFNdFM4Y2xMelNvUXYxME05UTJhR0Y0d1BMUjV2TVdHTFNzMDAvRHF4Z0U9&e=1526889870&token=tPYD3yhB9eKnCBJxrUMtf-Fu5zbvmiH8RaTCdxNx:xBNGMa71XIh4fYsX2NXf8gSnXTs=rn at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1627)rn at com.sinosig.recognition.util.Test.getInputStreamByGet(Test.java:24)rn at com.sinosig.recognition.util.Test.main(Test.java:12)[/code]rnrn想要得到的结果:rn1.这段代码没有任何问题,正常应该返回200 SUCCESS。rn2.找到出现401的原因。rnrn为了找到问题原因,我尝试过以下方法:rn1.怀疑是JDK版本问题:我尝试过用JDK1.6、JDK1.7、JDK1.8测试,只要是新建的工程中都是401,排除JDK版本问题;rn2.怀疑TOMCAT版本问题:用过3个版本,7、 8、 7forJDK6 ,结果一样,排除此原因。 rn3.怀疑是包冲突或者配置文件导致:我新建了一个工程,里面只有这个Test类及内容,没有配置文件,maven中不引入任何依赖,返回结果为200 rnSUCCESS 。但是一旦引入任何一个依赖结果都是401,并且删除依赖后不会变为200 。所以排除这个可能。rn4.怀疑是idea版本问题:使用2017.1和2018.1.2两个版本测试,结果还是如同问题描述。排除。rn5.把之前没有问题的工程重新导入idea中,把Test文件复制过来测试,结果为401。rnrn求助:rn两天时间,我把能想到的可能都尝试了一遍,现在仍然没有半点头绪。rn求助站里的各位大神帮忙分析下,这有可能是哪里出了问题。[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/83.gif][/img]在此先谢过了!rnrn
虚拟机上运行AntDesignPro
步骤: 1.  保证linux虚拟机正常运行和访问网络 2.  保证yum install git 正常 , 以及wget 命令正常 3.  正确安装nodejs ,并能通过node -v 和npm -v检验正确安装 ,通过npm 安装yarn , 通过yarn 安装模块和启动(出错率小) 4.  依据网址下载antDesignPro 并启动 测试界面: 异常: 异常一: yum...
请帮忙分析分析这个简单的存储过程。
SET QUOTED_IDENTIFIER OFF rnGOrnSET ANSI_NULLS OFF rnGOrnrnALTER proc pzrnrnasrnexec('insert (select b.code from 公司代码 b where b.inc=a.inc and b.inc0=a.inc0) as 客户编号,sum(a.f_qj+a.f_hl+a.f_qj1+a.f_qp) as 金额借方 ,"106" as 科目编号 into 凭证数据 from hl a group by a.inc,a.inc0')rnrnexec('insert (select b.code from 公司代码 b where b.inc=a.inc and b.inc0=a.inc0) as 客户编号,sum(a.f_qj+a.f_qj1) as 金额贷方 ,"40603" as 科目编号 into 凭证数据 from hl a group by a.inc,a.inc0')rnrnexec('insert (select b.code from 公司代码 b where b.inc=a.inc and b.inc0=a.inc0) as 客户编号,sum(a.f_hl) as 金额贷方 ,"40604" as 科目编号 into 凭证数据 from hl a group by a.inc,a.inc0')rnrnexec('insert (select b.code from 公司代码 b where b.inc=a.inc and b.inc0=a.inc0) as 客户编号,sum(a.f_qp) as 金额贷方 ,"40608" as 科目编号 into 凭证数据 from hl a group by a.inc,a.inc0')rnrnrnGOrnSET QUOTED_IDENTIFIER OFF rnGOrnSET ANSI_NULLS ON rnGOrnrn错误提示:rn服务器: 消息 8146,级别 16,状态 1,过程 pz,行 0rn过程 pz 没有参数,但却为该过程提供了参数。rn
相关热词 c# 标准差 计算 c#siki第五季 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池