A demo of Rongcloud uniapp sdk integration for compiling debug-apk in Android Studio

Overview

Rongcloud-uniapp-sdk-demo

A demo of Rongcloud uniapp sdk integration for compiling debug-apk in Android Studio

这是一个为了给uniapp在Android平台打出debug-apk的demo (可断点可全量输出日志的apk).里边集成了融云uniapp原生层的源码作为基座. (因为HbuilderX云打包的apk都是release版, 不能全量输出log以及添加debugger)

基本所需数据:

  • 我的Dcloud账号 (Uniapp的开发者后台):
    [email protected]
    pwd: 1996376gzk
  • demo中的项目名称:
    __UNI__82E3102
  • Appkey (Uniapp):
    2e31b6f1658ddd083c6bbd4ab74cebb5
  • package name:
    com.defalt.for_building_uniapp_project
  • 项目携带keystore的SHA1签名:
    EC:C3:E4:D3:27:FD:D1:7F:C8:CA:FA:8F:B2:2E:12:21:E9:35:EA:11

怎么玩

  • 如果客户本地有原生打包环境, 那么让他出debug-apk, 正常跑就可以.
  • 如果客户没有原生打包环境, 可以:
  1. 指导客户使用这个demo, 把demo clone先下来, 里边的配置都不用动, 全部使用我的账号和配置数据. 让他从Hbuilder里生成本地离线打包资源(要把资源文件夹名改成__UNI__82E3102, 和我后台的项目对应上), 放入app/assets/apps.进app/assets/__UNI__82E3102/www/manifest.json.同样修改掉项目id和项目名即可. 然后尝试打debug包.
  2. 如果客户不愿意搞这个demo, 那么只能和他要项目源码, 放入hbuilder里生成本地离线打包资源. 其余步骤都和上述一致.

吐槽:

目前Uniapp小槽点:

  1. 客户可能都是web开发出身, 对Android开发并不了解, 完全不具备AS和adb的环境. 用HbuilderX打出的包是release包, 而且客户一般只会查H5那一层的log, Android原生层log是按照release包的输出量打的, 比较不完整, 难以排查问题.
  2. 如果客户已经配置好了原生开发环境 (例如这个项目), 且了解Android开发.就可以直接打debug包, 这样日志输出表现是一致的.
You might also like...

Library App - Using Android studio / Final project

Library-App Library App - Using Android studio / Final project Screens SplashScreen: it’s launcher activity will be moved to MainActivity auto after 2

Feb 2, 2022

This project was developed with the intention of improving my knowledge of Java in application development in Android Studio.

This project was developed with the intention of improving my knowledge of Java in application development in Android Studio.

Jan 26, 2022

An application created using Android Studio, Java and Firebase DB to serve patients and doctors at a medical clinic.

MEDICAL CLINIC APP An application created using Android Studio, Java and Firebase DB to serve patients and doctors at a medical clinic. Patients are a

Jan 5, 2023

This project is an Android Studio plugin version of BlackObfuscator, it supports obfuscating code automatically. More information about this project are in BlackObfuscator.

DEX控制流混淆插件版 · BlackObfuscator-ASPlugin English Version 本项目为 BlackObfuscator 的Android Studio插件版,支持打包自动化混淆。功能及介绍方面请查看 BlackObfuscator 源项目 注意事项 首要注意:Blac

Dec 31, 2022

Clone of Snapchat app made using android studio and java. 👀

Clone of Snapchat app made using android studio and java. 👀

Snapchat-Clone Clone of Snapchat app made using android studio and java. Screenshots of the app : License MIT License Copyright (c) 2021 Nisa Efendi

Nov 8, 2022

A Sentry SDK for Java, Android and other JVM languages.

A Sentry SDK for Java, Android and other JVM languages.

Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoy

Dec 28, 2022

This is the official theme SDK for the FairPlayer Music Player for Android.

This is the official theme SDK for the FairPlayer Music Player for Android.

FairPlayer - Themes SDK This is the official theme SDK for the FairPlayer Music Player for Android. You can download the most recent version of FairPl

Jan 31, 2022

Google's ML-Kit-Vision demo (android) for pre encoded video.

Google's ML-Kit-Vision demo (android) for pre encoded video.

Android ML Kit Vision demo with Video Google's ML-Kit-Vision demo (android) for pre encoded video. Demos for camera preview and still image are also i

Dec 29, 2022

Public documentation for Visual Studio Code

Public documentation for Visual Studio Code

Visual Studio Code Documentation You've found the Visual Studio Code documentation GitHub repository, which contains the content for the Visual Studio

Jan 8, 2023
Owner
Zongkui Guo
All Work No Play makes Jack A Dull Boy
Zongkui Guo
lilishop是采用JAVA开发的B2B2C多用户商城系统/电商系统/电子商务。基于当前流行技术组合的前后端分离商城系统:后端使用 SpringBoot、MybatisPlus、SpringSecurity、redis、ES、mysql、mongodb等主流技术,前端使用vue框架iview、uniapp。支持分布式部署,分布式事务,支持docker、k8s。商城支持 PC、WAP、H5、小程序、APP等各个客户端

Lilishop B2B2C商城系统 官方公众号 & 开源不易,如有帮助请点Star 介绍 官网:https://pickmall.cn Lilishop 是一款Java开发,基于SpringBoot研发的B2B2C多用户商城,前端使用 Vue、uniapp开发 系统全端全部代码开源 产品前后端分离

null 3k Dec 31, 2022
A tool for reverse engineering Android apk files

Apktool This is the repository for Apktool. If you are looking for the Apktool website. Click here. It is a tool for reverse engineering 3rd party, cl

Connor Tumbleson 15.4k Jan 4, 2023
Tinker is a hot-fix solution library for Android, it supports dex, library and resources update without reinstall apk.

Tinker Tinker is a hot-fix solution library for Android, it supports dex, library and resources update without reinstalling apk. Getting started Add t

Tencent 16.6k Dec 30, 2022
☁ Tencent Cloud IM Server SDK in Java | 腾讯云 IM 服务端 SDK Java 版

Tencent Cloud IM Server SDK in Java The Tencent Cloud IM Server SDK for Java enables Java developers to easily work with Tencent Cloud IM. Requirement

Doocs 64 Dec 23, 2022
Stetho is a debug bridge for Android applications, enabling the powerful Chrome Developer Tools and much more.

Stetho Stetho is a sophisticated debug bridge for Android applications. When enabled, developers have access to the Chrome Developer Tools feature nat

Meta 12.6k Jan 3, 2023
Docker-compose-integration-tstst - An exploration of how to run integration tests against an application that has inconvenient external dependencies (e.g. a SQL database).

Tstst? it was supposed to be docker-compose-integration-tests but i was too lazy to fix it at the outset, and now im trying to convince myself its fun

null 1 Jan 4, 2022
Framework for automated integration tests with focus on messaging integration

Citrus Integration Testing Welcome to Citrus Citrus is a test framework written in Java that is able to create fully automated end-to-end use case tes

Citrus Framework 373 Dec 27, 2022
Run Java plugins without compiling them

Run Java plugins without compiling them! Usage Under plugins/SkriptJava, you can put your .java files to run when the server is up and loaded. This pl

Rance Andres 5 Sep 5, 2022
Android Auto Apps Downloader (AAAD) is an app for Android Phones that downloads popular Android Auto 3rd party apps and installs them in the correct way to have them in Android Auto.

Android Auto Apps Downloader (AAAD) is an app for Android Phones that downloads popular Android Auto 3rd party apps and installs them in the correct way to have them in Android Auto.

Gabriele Rizzo 865 Jan 2, 2023