草庐IT

folder-security

全部标签

mysql - 我应该如何解决 MySQL 中的 --secure-file-priv 问题?

我正在学习MySQL并尝试使用LOADDATA子句。当我如下使用它时:LOADDATAINFILE"text.txt"INTOtablemytable;我收到以下错误:TheMySQLserverisrunningwiththe--secure-file-privoptionsoitcannotexecutethisstatement我该如何解决这个错误?我已检查anotherquestiononthesameerrormessage,但仍然找不到解决方案。我使用的是MySQL5.6 最佳答案 它按预期工作。您的MySQL服务器已使

android - 在 Android Studio 上重建时出现 "The security strength of SHA-1 digest algorithm is not sufficient for this key size"

我在构建项目时遇到了这个问题。下面是堆栈跟踪。我为发布key创建了一个新的keystore文件,但没有用。Causedby:java.io.IOException:Failedtogeneratev1signatureatcom.android.tools.build.apkzlib.sign.SigningExtension.onOutputZipReadyForUpdate(SigningExtension.java:292)atcom.android.tools.build.apkzlib.sign.SigningExtension.access$200(SigningExten

javascript - react native : Is there any way to check if the file exists in android_asset folder or not?

我需要像这样检查文件夹中的文件是否存在:file:///android_asset/contents/my.html我试过使用react-native-filesystem插件componentWillMount(){asyncfunctioncheckIfFileExists(){constfileExists=awaitFileSystem.fileExists('file:///android_asset/contents/my.html')console.log(`fileexists:${fileExists}`)}}我确信my.html文件在那里,但我在fileExists

android - PhoneGap + 安卓 : 2 'www' folder in source code: which to modify?

当从头开始创建phonegap3应用程序时,我添加了平台android和buid+emulate。看这里,官方入门指南:http://docs.phonegap.com/en/edge/guide_cli_index.md.html#The%20Command-line%20Interface我开始修改代码,我注意到“hello”主目录下有一个“www”文件夹,还有一个在platforms\android\assets下我必须修改哪一个?如果我添加另一个平台?我对代码的修改会传递给其他平台的代码吗? 最佳答案 修改第一个“www”文

android - Eclipse 中的 Clean 会暂时破坏 Android 项目并显示错误消息 : missing required source folder: 'gen'

我在使用Eclipse中的Android项目时遇到了一个恼人的问题。我所有其他的Android项目都很好(目前)。每当我执行清理(Menu:Project->Clean...)时,项目都会出错,我无法编译/运行该应用程序。错误是:项目“项目名称”缺少所需的源文件夹:“gen”只要我编辑了一些代码,问题就会消失,直到我再次执行清理。我也可以右键单击gen文件夹并将其删除。Eclipse将重新创建gen文件夹,问题就会消失,直到我执行清理。这不是一个亮点,但它真的很烦人,因为我有时必须在运行应用程序之前进行清理。我正在使用以下内容:操作系统:Ubuntu10.04(LinuxCYLON2.

Android 映射异常 java.lang.NoClassDefFoundError : android. security.MessageDigest

我有一个使用Googlemap(v1)的应用程序,从崩溃报告中,我不时看到此异常:java.lang.NoClassDefFoundError:android.security.MessageDigestatcom.google.android.maps.KeyHelper.getSignatureFingerprint(KeyHelper.java:60)atcom.google.android.maps.MapActivity.createMap(MapActivity.java:513)atcom.google.android.maps.MapActivity.onCreate(

android - 错误 :Execution failed for task ':app:processDebugResources' when using font folder inside res

我已将SDK更新到AndroidO开发者预览版,并开始使用单个TextView进行简单演示。当我在res文件夹中包含font时,它开始显示Error:Executionfailedfortask':app:processDebugResources'.>com.android.ide.common.process.ProcessException:Failedtoexecuteaapt这是我的build.gradleandroid{compileSdkVersion25buildToolsVersion"25.0.2"defaultConfig{...minSdkVersion15ta

android - (强化)类别 : Android Bad Practices: Missing Google Play Services Updated Security Provider (1 Issues)

我们正在使用Fortify扫描我的Android源代码,但我无法解决这个问题:Category:AndroidBadPractices:MissingGooglePlayServicesUpdatedSecurityProvider(1Issues)Fortify指向这行代码:tools:replace="android:allowBackup">AndroidManifest.xml:37null()强化推荐:ThesimplestwaytopatchthesecurityprovideristocallthesynchronousmethodinstallIfNeeded().Th

android - java.lang.NoClassDefFoundError : android. security.MessageDigest

在我的应用程序中,我使用MessageDigest.getInstance("SHA-1")获取SHA1,它在android2.3中可以成功运行,但它不能在android4.0中运行并且会显示以下异常(exception):FATALEXCEPTION:mainjava.lang.NoClassDefFoundError:android.security.MessageDigestatcom.screenshare.email.Utility.getConsistentDeviceId(Utility.java:597)atcom.screenshare.exchange.SyncMa

java - 使用在 source/build/target/product/security/中找到的 key 将 apk 签名为系统

正如标题所述,我正在尝试使用platform.x509.pem和platform.pk8对我的应用程序进行签名。问题是我在使用keytool-importkeypairs添加这些时遇到错误,如下所示:keytool-importkeypair-k~/.android/debug.keystore-pandroid-pk8platform.pk8-certplatform.x509.pem-aliasplatform当我尝试像这样使用SignApk.jar直接签署APK时,我也会收到错误消息:java-jarSignApk.jarplatform.x509.pemplatform.pk8