sdk

Unsupported Modules Detected: Unfortunately you can't have non-Gradle Java modules and Android-Gradle modules in one project

我与影子孤独终老i 提交于 2020-01-23 04:46:10
问题 Unsupported Modules Detected: Compilation is not supported for the following modules: MemorandamApp. Unfortunately, you can't have non-Gradle Java modules and Android-Gradle modules in one project. This Error caused to erase my files. Newly opened files are affected by this problem. 回答1: 1- close the project 2- close Android Studio IDE 3- delete the .idea directory 4- delete all .iml files 5- open Android Studio IDE and import the project The answer is taken from HERE 回答2: Switch to project

nrf52832sdk15的SAADC

自闭症网瘾萝莉.ら 提交于 2020-01-22 16:37:18
由于有使用52832的需求,所以19年8月下载了一份最新的SDK,版本为SDK15.3.0,得创建一个新的工程然后移植原来的应用代码到这个新的SDK下,IO什么的跟原来SDK12没啥区别,但是我在demo里没找到ADC的demo,反倒是找到一个叫SAADC的(手册里SA是Successive approximation),由于时间关系先看了一下demo然后网上在搜索看了别人写的,跑了一下这个demo然后开始着手移植.初始化函数大概长这样: void saadc_init(void) { ret_code_t err_code; m_channel_used = 0; nrf_saadc_channel_config_t channel_config[ADC_CHANNEL_USED]; nrf_saadc_channel_config_t channel_default_config = NRF_DRV_SAADC_DEFAULT_CHANNEL_CONFIG_SE(NRF_SAADC_INPUT_AIN0); //这里整一个默认配置的adc配置 设置的输入是0 对于p02 具体哪些io对应哪些adc通道可以看手册 for(i = 0 ;i < ADC_CHANNEL_USED; i++) { /*do something*/ channel_config[i] = channel

android studio sdk version 22 exception during rendering: action_bar

守給你的承諾、 提交于 2020-01-22 04:56:21
问题 When I create a new project on android studio it is not giving any problem. However, looking at the activity_main.xml design it is shows me this: Rendering Problems Exception raised during rendering: action_bar. when I change sdk level 22 to 21 from the design page android studio shows nothing How can I solve this problem? This is not important problem but I wondered how can I fix this. 回答1: Yeah just had to adjust the Android level in the drop down. The design tab preview in API level 22 is

Build custom SDK with AOSP changes

随声附和 提交于 2020-01-22 03:07:29
问题 I am trying to build my app (uses many hidden api and properties) in android studio. I have modified the AOSP code to expose these hidden apis. In order to make the build successful I have added the classes.jar as the external lib to my project. But that doesn't resolve the issue. It was still showing errors : error: cannot find symbol method getService() error: cannot find symbol variable userSetLocale error: cannot find symbol method getInstance() error: cannot find symbol variable INJECT

APPium与夜神模拟器进行连接服务启动失败解决方法

。_饼干妹妹 提交于 2020-01-22 02:55:12
一、服务启动失败 1.查看APPium参数、值是否输入正确 2.首先需要确认本机的SDK路径下的adb.exe版本与夜神模拟器中的adb.exe版本是否一致,如果不一致则将SDK中的adb复制到模拟器bin目录下,且将该名称改为nox_adb.exe。 然后启动模拟器,在cmd中进入到模拟器的bin目录下,使用命令“nox_adb.exe connect 127.0.0.1:62001”。 [图1] 夜神模拟器文件夹下的adb.exe版本 [图2] sdk文件夹下的adb.exe版本 二、发现SDK路径下没有adb.exe文件 新版本Android SDK 找不到adb.exe的解决方法 https://blog.csdn.net/lmm0513/article/details/104061650 来源: CSDN 作者: lmm0513 链接: https://blog.csdn.net/lmm0513/article/details/104062651

Can't run app on iPhone 4.2.1 with Xcode 4.3.1 and IOS

家住魔仙堡 提交于 2020-01-21 18:28:54
问题 I hope someone can help :) It's been troubling me for a while, this one. I'm running Xcode 4.3.1 with base SDK iOS 5.1. iPhone version is 4.2.1, an old 3S model I believe. When hitting Run, Xcode compiles fine and says that it's running my app on the phone. Everything appears like it works, but the app does not launch on the phone. Anyone know what I'm doing wrong here? The app works fine in the simulator. Also when I try to run the app on a 4S, version 5.1, Xcode says: "Xcode cannot run

Can't run app on iPhone 4.2.1 with Xcode 4.3.1 and IOS

空扰寡人 提交于 2020-01-21 18:25:42
问题 I hope someone can help :) It's been troubling me for a while, this one. I'm running Xcode 4.3.1 with base SDK iOS 5.1. iPhone version is 4.2.1, an old 3S model I believe. When hitting Run, Xcode compiles fine and says that it's running my app on the phone. Everything appears like it works, but the app does not launch on the phone. Anyone know what I'm doing wrong here? The app works fine in the simulator. Also when I try to run the app on a 4S, version 5.1, Xcode says: "Xcode cannot run

adb 常用命令

核能气质少年 提交于 2020-01-21 15:36:49
原文地址: http://blog.csdn.net/lzx_bupt/article/details/5414741 adb 概述 SDK的Tools文件夹下包含着Android模拟器操作的重要命令adb,adb的全称为(Android Debug Bridge就是调试桥的作用。通过adb我们可以在Eclipse中方面通过DDMS来调试Android程序。借助这个工具,我们可以管理设备或手机模拟器的状态。还可以进行以下的操作: 1、快速更新设备或手机模拟器中的代码,如应用或Android 系统升级; 2、在设备上运行shell命令; 3、管理设备或手机模拟器上的预定端口; 4、在设备或手机模拟器上复制或粘贴文件; adb在集成开发环境中的工作 adb的工作方式比较特殊采用监听Socket TCP 5554等端口的方式让IDE和Qemu通讯,默认情况下adb会daemon相关的网络端口,所以当我们运行Eclipse时adb进程就会自动运行。 1.通过adb可以轻松的执行Linux Shell命令,如adb shell dir 就是列举目录,在Linux中根目录为/而不是Windows上的C盘、D盘。 2.安装apk程序到模拟器则执行adb install android123.apk,这样名为android123的安装包就会安装到Android模拟器中,前提是android123

Microsoft Speech Recognition Platform

蓝咒 提交于 2020-01-20 19:29:47
问题 I wrote an app in C# for speech recognition using System.Speech which works fine on Windows 7. However I'm after creating the same app that will work on windows 2003 (x86). My programming environment: Windows 7 x64 Pro Visual Studio 2008 In order to develop this application in my programming environment I installed: 1.Microsoft Speech Platform - Server Runtime (Version 10.1) (x86) http://www.microsoft.com/downloads/details.aspx?FamilyID=674356C4-E742-4855-B3CC-FC4D5522C449&displaylang=en