草庐IT

install-configuration

全部标签

mysql - 用户 'root' @'localhost' 的访问被拒绝(使用密码 : YES) after new installation on Ubuntu

今天我以root身份登录Ubuntu14.04.1LTSll然后是apt-getinstallmariadb-server(没有sudo但作为root)。与mySQL-hlocalhost-uroot--password=我得到了Accessdeniedforuser'root'@'localhost'(usingpassword:YES)与mySQL-uroot-p我登录了数据库并做了GRANTALLPRIVILEGESON*.*TO'root'@'localhost'IDENTIFIEDBY'';FLUSHALLPRIVILEGES;但这并没有帮助。你有什么想法吗?我没有找到类似问

mysql - 用户 'root' @'localhost' 的访问被拒绝(使用密码 : YES) after new installation on Ubuntu

今天我以root身份登录Ubuntu14.04.1LTSll然后是apt-getinstallmariadb-server(没有sudo但作为root)。与mySQL-hlocalhost-uroot--password=我得到了Accessdeniedforuser'root'@'localhost'(usingpassword:YES)与mySQL-uroot-p我登录了数据库并做了GRANTALLPRIVILEGESON*.*TO'root'@'localhost'IDENTIFIEDBY'';FLUSHALLPRIVILEGES;但这并没有帮助。你有什么想法吗?我没有找到类似问

android - 安装 Kotlin Android 项目失败并显示 INSTALL_FAILED_DEXOPT

尝试使用AndroidStudio运行KotlinAndroid项目编译成功并生成APK,但当Studio尝试在设备上安装APK时,安装失败并显示INSTALL_FAILED_DEXOPT。通过logcat,我可以看到类似于以下内容的消息:12-1322:43:57.219:ERROR/dalvikvm(1623):Out-of-ordermethod_idx:0x2bffthen0x2bff12-1322:43:57.219:ERROR/dalvikvm(1623):Troublewithitem897@offset0x13e49812-1322:43:57.219:ERROR/da

android - 错误 -505 INSTALL_FAILED_DUPLICATE_PERMISSION :

我正在开发一个安卓VOIP拨号器。我无法在设备中安装当前应用程序和旧应用程序。01-0712:05:05.115:E/Finsky(28214):[1]PackageInstallerImpl$2.onReceive:Error-505whileinstallingcom.current.app:INSTALL_FAILED_DUPLICATE_PERMISSION:Packagecom.current.appattemptingtoredeclarepermissionandroid.permission.CONFIGURE_SIPalreadyownedbycom.old.appl

android - 尝试安装 Layar401.apk 时出现失败 [INSTALL_FAILED_MISSING_SHARED_LIBRARY]

我已经从网上下载了Layar401.apk文件,并尝试将其安装到我的android设备(HTCMagic、Android2.2)中。但是每次我尝试安装它时都会说:adbinstallLayar401.apk1098KB/s(1855698bytesin1.649s)pkg:/data/local/tmp/Layar401.apkFailure[INSTALL_FAILED_MISSING_SHARED_LIBRARY]从其他帖子中,我发现manifest.xml文件中可能缺少Googlemapsapi的共享库。我试图查看manifest.xml文件,它给了我如下内容:package:n

android - 什么是 'action android:name="com.android.vending.INSTALL_REFERRER"'?

我已经测试了AppbrainSDK和InmobiSDK。我找到了这个普通接收器。我制作了定制接收器。我以为在谷歌市场下载应用程序时,谷歌市场会向我的应用程序发送“推荐人”值。但是我没有收到任何东西。什么问题?//ThisisAppbrain'sreceiver//ThisisInmobi'sreceiver//ThisisMyCustomreceiver//sourcepublicclassTestReceiverextendsBroadcastReceiver{publicstaticfinalStringTAG="TEST";StringreferrerString="";@Ove

android - 广播 INSTALL_REFERRER Intent

问题是我无法在接收器中获取引荐来源网址。在list文件中,我有类似的东西:adb广播命令:adbshellambroadcast-acom.android.vending.INSTALL_REFERRER-napp/app.InstallReceiver--es"referrer""utm_source=testSource&utm_medium=testMedium&utm_term=testTerm&utm_content=testContent&utm_campaign=testCampaign"在InstallReceiver类中:@OverridepublicvoidonRe

android - "adb install"返回错误 : protocol fault (no status)

我已经创建并运行了几个安卓模拟器,现在我想在它们上面安装应用程序。这是我尝试过几次的故事:$adb-semulator-5562installxxx.apk*daemonnotrunning.startingitnowonport5037**daemonstartedsuccessfully*error:protocolfault(nostatus)-waitingfordevice-^C$adbdevices*daemonnotrunning.startingitnowonport5037**daemonstartedsuccessfully*Listofdevicesattache

android - 为什么 sbt 报告 "No java installations was detected"并设置了 $JAVA_HOME?

我有2个sbt-android-scala项目。第一个是单个的:$ls-aldrwxr-xr-x13alexstaff442Dec2420:44.drwxr-xr-x4alexstaff136Dec2421:08..drwxr-xr-x12alexstaff408Dec2420:38.git-rw-r--r--1alexstaff141Dec2420:38.gitignore-rw-r--r--1alexstaff115Dec2420:38.travis.yml-rw-r--r--1alexstaff664Dec2420:38CHANGES-rw-r--r--1alexstaff141

python-snap7 报错:can‘t find snap7 library. If installed, try running ldconfig

1、使用场景:Python读取西门子S7系列PLC信息,会用到snap7库,网上也有很多案例。但是,运行时会报错:can'tfindsnap7library.Ifinstalled,tryrunningldconfig2、解决方案:A、下载项目需要依赖的dll、lib文件:i、Sourceforge下载:https://sourceforge.net/projects/snap7/files/ii、CSDN下载(免费):https://download.csdn.net/download/muyoufansem/19792932B、根据相关系统,选择合适的文件(本文以Windows64位系统为