我的编程空间,编程开发者的网络收藏夹
学习永远不晚

Android studio 出现错误Run with --stacktrace option to get the stack trace. Run with --info or --debu

短信预约 -IT技能 免费直播动态提醒
省份

北京

  • 北京
  • 上海
  • 天津
  • 重庆
  • 河北
  • 山东
  • 辽宁
  • 黑龙江
  • 吉林
  • 甘肃
  • 青海
  • 河南
  • 江苏
  • 湖北
  • 湖南
  • 江西
  • 浙江
  • 广东
  • 云南
  • 福建
  • 海南
  • 山西
  • 四川
  • 陕西
  • 贵州
  • 安徽
  • 广西
  • 内蒙
  • 西藏
  • 新疆
  • 宁夏
  • 兵团
手机号立即预约

请填写图片验证码后获取短信验证码

看不清楚,换张图片

免费获取短信验证码

Android studio 出现错误Run with --stacktrace option to get the stack trace. Run with --info or --debu

 Android studio Run with --stacktrace option to get the stack trace. Run with --info or --debu

提示信息


Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. 

其实是让你去查看更多的log信息。找到你项目的根目录,比如你的项目是MyApplication,在dos命令下进入该目录执行


gradlew compileDebug --stacktrace 

如果上面的命令不管用,可以使用下面的命令试试


gradle compileDebug --stacktrace 

可以看到很多错误的信息输出出来。


E:\MyApplication>gradle compileDebug --stacktrace 
FAILURE: Build failed with an exception. 
* What went wrong: 
A problem occurred configuring root project 'MyApplication'. 
> Could not resolve all dependencies for configuration ':classpath'. 
  > Could not resolve com.android.tools.build:gradle:1.0.0. 
   Required by: 
     :MyApplication:unspecified 
   > Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradl 
e/1.0.0/gradle-1.0.0.pom'. 
     > Connection to https://jcenter.bintray.com refused 
* Try: 
Run with --info or --debug option to get more log output. 
* Exception is: 
org.gradle.api.ProjectConfigurationException: A problem occurred configuring roo 
t project 'MyApplication'. 
    at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigu 
rationFailure(LifecycleProjectEvaluator.java:91) 
    at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(L 
ifecycleProjectEvaluator.java:61) 
    at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProj 
ect.java:504) 
    at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProj 
ect.java:83) 
    at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(Task 
PathProjectEvaluator.java:42) 
    at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuil 
dConfigurer.java:35) 
    at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(Default 
GradleLauncher.java:129) 
    at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradle 
Launcher.java:106) 
    at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLaun 
cher.java:86) 
    at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildCon 
troller.run(InProcessBuildActionExecuter.java:80) 
    at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.jav 
a:33) 
    at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.jav 
a:24) 
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProce 
ssBuildActionExecuter.java:36) 
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProce 
ssBuildActionExecuter.java:26) 
    at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51) 
    at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.jav 
a:171) 
    at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction. 
execute(CommandLineActionFactory.java:237) 
    at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction. 
execute(CommandLineActionFactory.java:210) 
    at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRunti 
meValidationAction.java:35) 
    at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRunti 
meValidationAction.java:24) 
    at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute( 
CommandLineActionFactory.java:206) 
    at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute( 
CommandLineActionFactory.java:169) 
    at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionRep 
ortingAction.java:33) 
    at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionRep 
ortingAction.java:22) 
    at org.gradle.launcher.Main.doAction(Main.java:33) 
    at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45) 
    at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBoots 
trap.java:54) 
    at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.j 
ava:35) 
    at org.gradle.launcher.GradleMain.main(GradleMain.java:23) 
Caused by: org.gradle.api.artifacts.ResolveException: Could not resolve all depe 
ndencies for configuration ':classpath'. 
    at org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfigurat 
ion.rethrowFailure(DefaultLenientConfiguration.java:52) 
    at org.gradle.api.internal.artifacts.ivyservice.DefaultResolvedConfigura 
tion.rethrowFailure(DefaultResolvedConfiguration.java:36) 
    at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyR 
esolver$FilesAggregatingResolvedConfiguration.rethrowFailure(SelfResolvingDepend 
encyResolver.java:110) 
    at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingArtifactDep 
endencyResolver$ErrorHandlingResolvedConfiguration.rethrowFailure(ErrorHandlingA 
rtifactDependencyResolver.java:180) 
    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration 
$ConfigurationFileCollection.getFiles(DefaultConfiguration.java:444) 
    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration 
.getFiles(DefaultConfiguration.java:205) 
    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration 
_Decorated.getFiles(Unknown Source) 
    at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.defineS 
criptHandlerClassScope(DefaultPluginRequestApplicator.java:142) 
    at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.applyPl 
ugins(DefaultPluginRequestApplicator.java:60) 
    at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl. 
apply(DefaultScriptPluginFactory.java:131) 
    at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildSc 
riptProcessor.java:39) 
    at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildSc 
riptProcessor.java:26) 
    at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.eva 
luate(ConfigureActionsProjectEvaluator.java:34) 
    at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(L 
ifecycleProjectEvaluator.java:59) 
    ... 27 more 
Caused by: org.gradle.internal.resolve.ModuleVersionResolveException: Could not 
resolve com.android.tools.build:gradle:1.0.0. 
Required by: 
  :MyApplication:unspecified 
    at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryCha 
inDependencyResolver.resolve(RepositoryChainDependencyResolver.java:81) 
    at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryCha 
inAdapter.resolve(RepositoryChainAdapter.java:69) 
    at org.gradle.api.internal.artifacts.ivyservice.clientmodule.ClientModul 
eResolver.resolve(ClientModuleResolver.java:44) 
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.Depe 
ndencyGraphBuilder$ModuleVersionResolveState.resolve(DependencyGraphBuilder.java 
:577) 
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.Depe 
ndencyGraphBuilder$ModuleVersionResolveState.getMetaData(DependencyGraphBuilder. 
java:587) 
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.Depe 
ndencyGraphBuilder$DependencyEdge.calculateTargetConfigurations(DependencyGraphB 
uilder.java:272) 
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.Depe 
ndencyGraphBuilder$DependencyEdge.attachToTargetConfigurations(DependencyGraphBu 
ilder.java:246) 
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.Depe 
ndencyGraphBuilder.traverseGraph(DependencyGraphBuilder.java:156) 
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.Depe 
ndencyGraphBuilder.resolveDependencyGraph(DependencyGraphBuilder.java:94) 
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.Depe 
ndencyGraphBuilder.resolve(DependencyGraphBuilder.java:84) 
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultDep 
endencyResolver$1.execute(DefaultDependencyResolver.java:122) 
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultDep 
endencyResolver$1.execute(DefaultDependencyResolver.java:88) 
    at org.gradle.internal.Transformers$4.transform(Transformers.java:136) 
    at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager 
.withIvy(DefaultIvyContextManager.java:61) 
    at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager 
.withIvy(DefaultIvyContextManager.java:39) 
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultDep 
endencyResolver.resolve(DefaultDependencyResolver.java:88) 
    at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDepe 
ndencyResolver$1.run(CacheLockingArtifactDependencyResolver.java:42) 
    at org.gradle.internal.Factories$1.create(Factories.java:22) 
    at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAcc 
ess.java:187) 
    at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAcc 
ess.java:175) 
    at org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(De 
faultPersistentDirectoryStore.java:106) 
    at org.gradle.cache.internal.DefaultCacheFactory$ReferenceTrackingCache. 
useCache(DefaultCacheFactory.java:187) 
    at org.gradle.api.internal.artifacts.ivyservice.DefaultCacheLockingManag 
er.useCache(DefaultCacheLockingManager.java:64) 
    at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDepe 
ndencyResolver.resolve(CacheLockingArtifactDependencyResolver.java:40) 
    at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyR 
esolver.resolve(SelfResolvingDependencyResolver.java:45) 
    at org.gradle.api.internal.artifacts.ivyservice.ShortcircuitEmptyConfigs 
ArtifactDependencyResolver.resolve(ShortcircuitEmptyConfigsArtifactDependencyRes 
olver.java:55) 
    at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingArtifactDep 
endencyResolver.resolve(ErrorHandlingArtifactDependencyResolver.java:47) 
    at org.gradle.api.internal.artifacts.ivyservice.DefaultConfigurationReso 
lver.resolve(DefaultConfigurationResolver.java:46) 
    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration 
.resolveNow(DefaultConfiguration.java:250) 
    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration 
.getResolvedConfiguration(DefaultConfiguration.java:240) 
    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration 
_Decorated.getResolvedConfiguration(Unknown Source) 
    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration 
$ConfigurationFileCollection.getFiles(DefaultConfiguration.java:442) 
    ... 36 more 
Caused by: org.gradle.internal.resource.transport.http.HttpRequestException: Cou 
ld not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/1.0.0/gra 
dle-1.0.0.pom'. 
    at org.gradle.internal.resource.transport.http.HttpClientHelper.performR 
equest(HttpClientHelper.java:80) 
    at org.gradle.internal.resource.transport.http.HttpClientHelper.performR 
awGet(HttpClientHelper.java:66) 
    at org.gradle.internal.resource.transport.http.HttpClientHelper.performG 
et(HttpClientHelper.java:70) 
    at org.gradle.internal.resource.transport.http.HttpResourceAccessor.getR 
esource(HttpResourceAccessor.java:53) 
    at org.gradle.internal.resource.transport.http.HttpResourceAccessor.getR 
esource(HttpResourceAccessor.java:36) 
    at org.gradle.internal.resource.transfer.ProgressLoggingExternalResource 
Accessor.getResource(ProgressLoggingExternalResourceAccessor.java:39) 
    at org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResour 
ceAccessor.getResource(DefaultCacheAwareExternalResourceAccessor.java:72) 
    at org.gradle.api.internal.artifacts.repositories.resolver.DefaultExtern 
alResourceArtifactResolver.downloadStaticResource(DefaultExternalResourceArtifac 
tResolver.java:91) 
    at org.gradle.api.internal.artifacts.repositories.resolver.DefaultExtern 
alResourceArtifactResolver.resolveMetaDataArtifact(DefaultExternalResourceArtifa 
ctResolver.java:57) 
    at org.gradle.api.internal.artifacts.repositories.resolver.ExternalResou 
rceResolver.parseMetaDataFromArtifact(ExternalResourceResolver.java:162) 
    at org.gradle.api.internal.artifacts.repositories.resolver.ExternalResou 
rceResolver.resolveStaticDependency(ExternalResourceResolver.java:141) 
    at org.gradle.api.internal.artifacts.repositories.resolver.MavenResolver 
.doResolveComponentMetaData(MavenResolver.java:82) 
    at org.gradle.api.internal.artifacts.repositories.resolver.ExternalResou 
rceResolver$RemoteRepositoryAccess.resolveComponentMetaData(ExternalResourceReso 
lver.java:391) 
    at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CacheLockRele 
asingModuleComponentsRepository$LockReleasingRepositoryAccess$2.run(CacheLockRel 
easingModuleComponentsRepository.java:65) 
    at org.gradle.internal.Factories$1.create(Factories.java:22) 
    at org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(Def 
aultCacheAccess.java:237) 
    at org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(Def 
aultCacheAccess.java:308) 
    at org.gradle.cache.internal.DefaultPersistentDirectoryStore.longRunning 
Operation(DefaultPersistentDirectoryStore.java:114) 
    at org.gradle.cache.internal.DefaultCacheFactory$ReferenceTrackingCache. 
longRunningOperation(DefaultCacheFactory.java:179) 
    at org.gradle.api.internal.artifacts.ivyservice.DefaultCacheLockingManag 
er.longRunningOperation(DefaultCacheLockingManager.java:56) 
    at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CacheLockRele 
asingModuleComponentsRepository$LockReleasingRepositoryAccess.resolveComponentMe 
taData(CacheLockReleasingModuleComponentsRepository.java:63) 
    at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CachingModule 
ComponentRepository$ResolveAndCacheRepositoryAccess.resolveComponentMetaData(Cac 
hingModuleComponentRepository.java:284) 
    at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.BaseModuleCom 
ponentRepositoryAccess.resolveComponentMetaData(BaseModuleComponentRepositoryAcc 
ess.java:38) 
    at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMe 
moryCachedModuleComponentRepository$CachedAccess.resolveComponentMetaData(InMemo 
ryCachedModuleComponentRepository.java:70) 
    at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.ComponentMeta 
DataResolveState.process(ComponentMetaDataResolveState.java:70) 
    at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.ComponentMeta 
DataResolveState.resolve(ComponentMetaDataResolveState.java:62) 
    at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryCha 
inDependencyResolver.findBestMatch(RepositoryChainDependencyResolver.java:114) 
    at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryCha 
inDependencyResolver.findBestMatch(RepositoryChainDependencyResolver.java:97) 
    at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryCha 
inDependencyResolver.resolve(RepositoryChainDependencyResolver.java:70) 
    ... 67 more 
Caused by: org.apache.http.conn.HttpHostConnectException: Connection to https:// 
jcenter.bintray.com refused 
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnect 
ion(DefaultClientConnectionOperator.java:190) 
    at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedCli 
entConnectionImpl.java:294) 
    at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(Default 
RequestDirector.java:640) 
    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultReq 
uestDirector.java:479) 
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpCl 
ient.java:906) 
    at org.apache.http.impl.client.DecompressingHttpClient.execute(Decompres 
singHttpClient.java:137) 
    at org.apache.http.impl.client.DecompressingHttpClient.execute(Decompres 
singHttpClient.java:118) 
    at org.gradle.internal.resource.transport.http.HttpClientHelper.performH 
ttpRequest(HttpClientHelper.java:111) 
    at org.gradle.internal.resource.transport.http.HttpClientHelper.executeG 
etOrHead(HttpClientHelper.java:87) 
    at org.gradle.internal.resource.transport.http.HttpClientHelper.performR 
equest(HttpClientHelper.java:78) 
    ... 95 more 
Caused by: java.net.ConnectException: Connection timed out: connect 
    at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFact 
ory.java:549) 
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnect 
ion(DefaultClientConnectionOperator.java:180) 
    ... 104 more 
BUILD FAILED 
Total time: 45.485 secs 

感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!

您可能感兴趣的文章:关于AndroidStudio R文件莫名其妙缺失的快速解决方法Android studio 出现 Unsupported major.minor version 52.0解决办法Android Studio Intent隐式启动,发短信,拨号,打电话,访问网页等实例代码Ubuntu16.04 LTS 下安装 Android Studio 2.2.2 的详细步骤Android studio中生成引用.aar和.jar的方法详解AndroidStudio 使用过程中出现的异常(Gradle sync failed)处理办法解决Android Studio导入项目非常慢的办法简单谈谈android studio 的单元测试Android sdutio配置Zxing进行扫码功能的实现方法


免责声明:

① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。

② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341

Android studio 出现错误Run with --stacktrace option to get the stack trace. Run with --info or --debu

下载Word文档到电脑,方便收藏和打印~

下载Word文档

猜你喜欢

Android studio 出现错误Run with --stacktrace option to get the stack trace. Run with --info or --debu

Android studio Run with --stacktrace option to get the stack trace. Run with --info or --debu 提示信息Run with --stacktrace
2022-06-06

编程热搜

  • Android:VolumeShaper
    VolumeShaper(支持版本改一下,minsdkversion:26,android8.0(api26)进一步学习对声音的编辑,可以让音频的声音有变化的播放 VolumeShaper.Configuration的三个参数 durati
    Android:VolumeShaper
  • Android崩溃异常捕获方法
    开发中最让人头疼的是应用突然爆炸,然后跳回到桌面。而且我们常常不知道这种状况会何时出现,在应用调试阶段还好,还可以通过调试工具的日志查看错误出现在哪里。但平时使用的时候给你闹崩溃,那你就欲哭无泪了。 那么今天主要讲一下如何去捕捉系统出现的U
    Android崩溃异常捕获方法
  • android开发教程之获取power_profile.xml文件的方法(android运行时能耗值)
    系统的设置–>电池–>使用情况中,统计的能耗的使用情况也是以power_profile.xml的value作为基础参数的1、我的手机中power_profile.xml的内容: HTC t328w代码如下:
    android开发教程之获取power_profile.xml文件的方法(android运行时能耗值)
  • Android SQLite数据库基本操作方法
    程序的最主要的功能在于对数据进行操作,通过对数据进行操作来实现某个功能。而数据库就是很重要的一个方面的,Android中内置了小巧轻便,功能却很强的一个数据库–SQLite数据库。那么就来看一下在Android程序中怎么去操作SQLite数
    Android SQLite数据库基本操作方法
  • ubuntu21.04怎么创建桌面快捷图标?ubuntu软件放到桌面的技巧
    工作的时候为了方便直接打开编辑文件,一些常用的软件或者文件我们会放在桌面,但是在ubuntu20.04下直接直接拖拽文件到桌面根本没有效果,在进入桌面后发现软件列表中的软件只能收藏到面板,无法复制到桌面使用,不知道为什么会这样,似乎并不是很
    ubuntu21.04怎么创建桌面快捷图标?ubuntu软件放到桌面的技巧
  • android获取当前手机号示例程序
    代码如下: public String getLocalNumber() { TelephonyManager tManager =
    android获取当前手机号示例程序
  • Android音视频开发(三)TextureView
    简介 TextureView与SurfaceView类似,可用于显示视频或OpenGL场景。 与SurfaceView的区别 SurfaceView不能使用变换和缩放等操作,不能叠加(Overlay)两个SurfaceView。 Textu
    Android音视频开发(三)TextureView
  • android获取屏幕高度和宽度的实现方法
    本文实例讲述了android获取屏幕高度和宽度的实现方法。分享给大家供大家参考。具体分析如下: 我们需要获取Android手机或Pad的屏幕的物理尺寸,以便于界面的设计或是其他功能的实现。下面就介绍讲一讲如何获取屏幕的物理尺寸 下面的代码即
    android获取屏幕高度和宽度的实现方法
  • Android自定义popupwindow实例代码
    先来看看效果图:一、布局
  • Android第一次实验
    一、实验原理 1.1实验目标 编程实现用户名与密码的存储与调用。 1.2实验要求 设计用户登录界面、登录成功界面、用户注册界面,用户注册时,将其用户名、密码保存到SharedPreference中,登录时输入用户名、密码,读取SharedP
    Android第一次实验

目录