神舟战神系统安装

1.神舟系统安装

=>准备(U盘(4G以上,3G系统,1G工具),微PE工具,系统镜像,神舟官网下载的无线驱动连wifi,驱动人生安装驱动)
=>系统盘制作,使用微PE工具制作系统盘,并将系统镜像放入制作盘中
=>安装 
      =>f2进入BIOS系统,Boot options #U盘,放在第一位
      =>Disk分区软件打开,先删除所有分区,然后重新分区,注释:ssd盘分区选择整数倍
      =>系统安装软件安装iso到C盘
=>重启 安装完成

2.软件安装
=> sqlserver 安装 重新启动计算机失败 ,删除 注册表 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer,重启计算机
=> chrome 软件(添加google访问助手扩展程序) 
=> winrar,驱动人生, 搜狗输入法  安装
=> 耗时操作 驱动人生安装驱动晚上耗时未知,系统安装完后的系统更新2小时,sqlserver1小时,vs安装1个半小时

3.出现问题
=> chrome浏览器上保存的网址未备份
=> 数据库备份还原的时候,用户名和密码改变导致原先做的程序都需要修改用户名和密码,以及datasource 改成当前计算机的用户名

=> 先装vs2017后装IIS,应用程序池没有.net4.0或4.5:C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
=> windows,visio2016激活工具添加
=> Android studio 安装
Unable to access  Android sdk add-on-list : android 安装目录下idea.properties文件结尾添加追加disable.android.first.run=true

4.其他

=> eclipse项目迁移到android studio,使用Import project(Eclipse ADT,etc)
=> subline支持Encoding GBK, A. preferences->settings->"show_encoding": true + "show_line_endings": true,
                                          B.安装Package Control: "Control" + "~" ;安装ConvertToUTF8: "Control"+"Shift"+"P"->输入ConvertToUTF8
=> i studio GBK乱码问题 A.File Encoding:reload GBK,B.File Encoding:Convert UTF-8.
=> Notification notification = new Notifaction(...); // 已被删除,报错
    A.现使用 NotificationBuilder builder1 = new NotificationBuilder(context), // 版本从api11 开始支持,如 版本低于11,需要修改版本,且 NotificationBuilder.build() 需要支持api16
=> 修改版本 build.gradle(app) 中 修改 minSdkVersion + targetSdkVersion 版本 ,然后sync now

5.程序问题

=>mNotificationIntent = new Intent(getApplicationContext(), MyAlarm.class);

        mContentIntent = PendingIntent.getActivity(getApplicationContext(), 0, mNotificationIntent,

                                                            Intent.FLAG_ACTIVITY_NEW_WORK); // 报错
    // 改成 
    mNotificationIntent = new Intent(getApplicationContext(), MyAlarm.class);

    mNotificationIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_WORK);
    mContentIntent = PendingIntent.getActivity(getApplicationContext(), 0, mNotificationIntent,

                                                            0); // 问题解决

=>.net 读取文本方法(File类和StreamReader)默认是以UTF8编码来读取的, Encoding.Default 不知编码时可使用

=>github readme图片,A.先上传图片,B.readme添加(判断下面链接是否满足:直接在浏览器上打开,能打开就OK)

            ![](https://raw.githubusercontent.com/jackyjie/CSharp_Demo/master/GBK2UTF8.png "GBK2UTF8")
=> visual studio 2017 打包程序, 工具->扩展与更新->联机搜索installer,选择Visual Studio 2017 Installer Project.
      B. 添加卸载文件 C:\Windows\System32\msiexec.exe setup1打包项目的ProductCode(属性)msiexec快捷方式属性Arguments中添加\x+"ProductCode"

6.未解决问题

 A. [已解决]Android studio Error:Unexpected lock protocol found in lock file. Expected 3, found -17.
原因:在这之前,对project中的所有GBK文件进行了GBK转UTF8的操作,影响gradle
结论:gradle中肯定有些是GBK文件,转成UTF8报错

B.[已解决] Android Studio 报错: 非法字符: '\ufeff'

原因:android studio 不支持带签名的UTF8编码文件

C.[已解决]Android studio Mainfest merger failed:Attribute application@icon
原因:添加Module过程中项目命名冲突
解决方式:app/mainfest 添加 xmlns:tools="http://schemas.android.com/tools" +tools:replace="android:icon"

D.[已解决]Android studio Error:Execution failed for task ‘:appmain:compileReleaseJavaWithJavac’. 
途径:"ctrl"+"shift"+"A"->打开gradle control,查看具体信息

E.switch(item.getId()){case R.id.view:break;} 报错:Constant Expression Required(case 项必须为常量);
原因:ADT14之后,R.id.view不再是常量,如果是常量编译时会将所有和资源相关的代码和主项目一起重新编译,太慢且不合理
F.[已解决]AS:Error:warning: Ignoring InnerClasses attribute for an anonymous inner class 第三方服务加载警告
途径:删除第三方服务,重新装


  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值