1 Star 2 Fork 1

bufengyi / NewShopManagerAndroid

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

TODO

  • 服务同步
  • 服务器返回成功信息提示
  • service与dao分开,dao仅仅数据库操作,不要掺杂同步服务器等操作
  • MIUI手机权限问题 https://gitee.com/pengfeilu/PermissionDemo.git
  • 今日菜价线上同步文字图片等。
  • 本地图片压缩
  • 用户登录角色设计,每个人有自己的数据
  • 报菜软件,及时统计数据,打造一流的物流系统

https://blog.csdn.net/lupengfei1009/article/details/78140047

问题

运行安卓程序是,提示License for package Android SDK Build-Tools 28.0.2 not accepted

sdkmanager.bat --licenses

执行之后,它会提示你去允许认证,然后命令会提醒你确定y/n(accept lincense),一路y下去便可以了。

安卓相关技术

https://github.com/blindmonk/Android

https://github.com/inferjay/AndroidDevTools

https://github.com/XXApple/AndroidLibs

https://github.com/itheima1/Android

commit表情

https://gitmoji.carloscuesta.me/

应用日志查看

https://gitee.com/simplepeng/SpiderMan

##ORM

AS报错Plugin with id ‘org.greenrobot.greendao‘ not found.怎么办?

## GreenDao

https://blog.csdn.net/u013110200/article/details/78782058

二次开发的插件

https://github.com/wurensen/Greendao3GradlePlugin

荣耀手机

https://blog.csdn.net/qq_29758759/article/details/104927602

关闭Acitvity

https://www.cnblogs.com/minghualiyan/p/5212751.html

扫码

https://github.com/xuyisheng/ZXingLib

https://gitee.com/xuexiangjys/XQRCode

xml到activity代码生成

http://android.lineten.net/layout.php

快速开发框架

https://gitee.com/eric-tutorial/Android-ZBLibrary

图表

https://github.com/lecho/hellocharts-android

XUI

https://gitee.com/xuexiangjys/XUI

Toast

https://gitee.com/mengpeng920223/ToastUtils

分页加载

https://gitee.com/i-android/android-page

富文本编辑器

https://gitee.com/sendtion/XRichText

图片选择器

https://gitee.com/vanish136_admin/ImagePicker

https://gitee.com/z8806c/ImagePicker

https://gitee.com/qzwcom/FileManager

https://gitee.com/jingbin127/CloudReader

https://gitee.com/JHFreedm/TakePhoto

可左右上下扩展的listView

https://gitee.com/yydcdut/SlideAndDragListView

https://gitee.com/jaynm/PullToRefreshListView

https://github.com/chrisbanes/Android-PullToRefresh

https://www.jianshu.com/p/88488e954de1

ListView

https://blog.csdn.net/qq_36243942/article/details/82085986

cnblogs.com/yuhanghzsd/p/5595532.html

去掉横线

https://blog.csdn.net/cn2007/article/details/22812021

     android:padding="10dp"
     android:divider="@null"
     android:dividerHeight="5dp"

Android 应用版本号配置修改

https://www.jianshu.com/p/15c62d098dc7

Android阴影效果

https://www.jianshu.com/p/eb71401ae0ec

Android布局中的layout_weight和weightSum属性的详解及使用

https://blog.csdn.net/android_cmos/article/details/50783745

脚手架

https://gitee.com/hljdrl/fastlite-2016

https://gitee.com/scimence/FaceBookLogin

https://gitee.com/rqhua/AndroidFire

https://gitee.com/shangtianhao/AndroidFire

logback android

https://gitee.com/mirrors/logback-android https://gitee.com/henengorg/logback-android

开发设计工具

https://gitee.com/frenzy/AndroidDevTools

服务器性能监视

https://gitee.com/hxl495/server-performance

android打印

https://gitee.com/LISER_LIN/one-family-android

小米MIUI11便签

https://gitee.com/fluorineion/notepad

https://gitee.com/mirrors/qbox-android

问题-错误信息

没有传入正确的context

应该传入Activity.this。然而错误地传入了在事件监听器里面直接this。导致Context错误


E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.hxy.manager, PID: 22222
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference
        at android.view.ViewConfiguration.get(ViewConfiguration.java:432)
        at android.view.View.<init>(View.java:4590)
        at android.view.View.<init>(View.java:4723)
        at android.widget.ProgressBar.<init>(ProgressBar.java:234)
        at android.widget.ProgressBar.<init>(ProgressBar.java:230)
        at android.widget.ProgressBar.<init>(ProgressBar.java:226)
        at android.widget.ProgressBar.<init>(ProgressBar.java:222)
        at com.hxy.manager.util.OkHttpsConfig.showLoading(OkHttpsConfig.java:135)
        at com.hxy.manager.util.OkHttpsConfig.lambda$with$1$OkHttpsConfig(OkHttpsConfig.java:53)
        at com.hxy.manager.util.-$$Lambda$OkHttpsConfig$yEEu0URsjW7loTvIi5ODLKte7MA.doProcess(Unknown Source:2)
        at com.ejlchina.okhttps.internal.HttpClient.preprocess(HttpClient.java:197)
        at com.ejlchina.okhttps.internal.AsyncHttpTask.request(AsyncHttpTask.java:227)
        at com.ejlchina.okhttps.internal.AsyncHttpTask.post(AsyncHttpTask.java:189)
        at com.hxy.manager.activity.goods.GoodsAddActivity$2.onClick(GoodsAddActivity.java:175)
        at android.view.View.performClick(View.java:6311)
        at android.view.View$PerformClick.run(View.java:24791)
        at android.os.Handler.handleCallback(Handler.java:790)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:164)
        at android.app.ActivityThread.main(ActivityThread.java:6602)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:453)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:821)

android系统下绑定Server的时候报MainActivity has leaked ServiceConnection的错误

https://www.cnblogs.com/lihaiping/p/6120528.html

【异常处理】Are you missing a call to unregisterReceiver()?

https://blog.csdn.net/u013472738/article/details/54410413

解决不能在android9,10上面安装问题

使用adb安装

解决https://blog.csdn.net/qq_33377120/article/details/104004456

Greendao打印Didn't find class "net.sqlcipher.database.SQLiteOpenHelper”解决办法

https://blog.csdn.net/yuzhiqiang_1993/article/details/77881798

安卓9以上需要https连接

https://blog.csdn.net/ming_147/article/details/100642247

不支持ssh

java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

解决办法:

http://okhttps.ejlchina.com/v2/questions.html#%E6%94%AF%E6%8C%81-ssl%EF%BC%88https%EF%BC%89%E5%90%97%EF%BC%9F

无效安装包

正确打包 https://blog.csdn.net/zgh0711/article/details/72190165

生成证书

keytool -genkey -alias tomcathttps -keypass newpass -keyalg RSA -keysize 2048 -validity 365 -keystore tomcathttps.p12

生成release包

Build -> Generate Signed bundle /apk

文件存储获取

https://blog.csdn.net/shving/article/details/101057082

拍照后图片存储正常,但是onActivityResult的resultCode总是返回0

原因可能是加了下面这句代码

    intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

android通过Intent.ACTION_VIEW打开时出现异常卡顿

解决办法 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);

https://www.cnblogs.com/kinoyo/p/12787226.html

Comments ( 0 )

Sign in for post a comment

About

新店管理安卓 spread retract
Android
Cancel

Releases (2)

All

Contributors

All

Activities

load more
can not load any more
Android
1
https://gitee.com/bufengyi/NewShopManagerAndroid.git
git@gitee.com:bufengyi/NewShopManagerAndroid.git
bufengyi
NewShopManagerAndroid
NewShopManagerAndroid
dev

Search

103611 48b8ff67 1899542 103622 4d02230c 1899542