原文地址:http://fzhiy.com/android/207.html

http://openstorage.gunadarma.ac.id/android/sdk/sdk_310712/tools/traceview.bat

@echo off
rem Copyright (C) 2007 The Android Open Source Project
rem
rem Licensed under the Apache License, Version 2.0 (the "License");
rem you may not use this file except in compliance with the License.
rem You may obtain a copy of the License at
rem
rem      http://www.apache.org/licenses/LICENSE-2.0
rem
rem Unless required by applicable law or agreed to in writing, software
rem distributed under the License is distributed on an "AS IS" BASIS,
rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
rem See the License for the specific language governing permissions and
rem limitations under the License.rem don't modify the caller's environment
setlocalrem Set up prog to be the path of this script, including following symlinks,
rem and set up progdir to be the fully-qualified pathname of its directory.
set prog=%~f0rem Change current directory and drive to where the script is, to avoid
rem issues with directories containing whitespaces.
cd /d %~dp0rem Check we have a valid Java.exe in the path.
set java_exe=
call lib\find_java.bat
if not defined java_exe goto :EOFset jarfile=traceview.jar
set frameworkdir=if exist %frameworkdir%%jarfile% goto JarFileOkset frameworkdir=lib\if exist %frameworkdir%%jarfile% goto JarFileOkset frameworkdir=..\framework\:JarFileOkset jarpath=%frameworkdir%%jarfile%if not defined ANDROID_SWT goto QueryArchset swt_path=%ANDROID_SWT%goto SwtDone:QueryArchfor /f %%a in ('%java_exe% -jar %frameworkdir%archquery.jar') do set swt_path=%frameworkdir%%%a:SwtDoneif exist %swt_path% goto SetPathecho SWT folder '%swt_path%' does not exist.echo Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.exit /B:SetPath
set javaextdirs=%swt_path%;%frameworkdir%call %java_exe% -Djava.ext.dirs=%javaextdirs% -Dcom.android.traceview.toolsdir= -jar %jarpath% %*

或者直接去http://tools.android-studio.org/index.php/sdk下载SDK更换

sdk\tools目录下的traceview.bat无法找到相关推荐

  1. 点击Sdk目录下tools目录下的monitor.bat 出现Unexpected error while parsing input: lnvalid ui automator hierarchy

    Unexpected error while parsing input: lnvalid ui automator  hierarchy  file   翻译:分析输入时出现意外错误:无效的ui自动 ...

  2. 关于AndroidSDK配置时的tools目录下找不到adb.exe的错误

    2019独角兽企业重金招聘Python工程师标准>>> 在配置android SDK的时候,有时会发现在android-sdk-windows\tools目录下并没有adb.exe, ...

  3. 用java SDK/bin目录下的native2ascii.exe把.properties文件中的中文转换成unicode字符,实现国际化...

    需要用到java SDK\\bin 目录下的native2ascii.exe程序,把你写的文本文件转成unicode字符即可,例: native2ascii 源文件名.txt 新文件名.txt 测试 ...

  4. 双击Tomcat目录下startup.bat文件闪退问题!!!

    双击Tomcat目录下startup.bat文件闪退问题!!! 一.普遍问题 下面这篇博客总结了可能出现的问题,非常全面,99% 闪退问题基本能解决 链接: Tomcat 启动闪退问题解决集(八大类详 ...

  5. Android SDK Manager 目录文件下载

    SDK 目录结构及下载 摘要自:SDK目录结构及下载 [简单总结] 1.[Tools目录]: 1)Android SDK Tools2) Android SDK Platform-tools 2.[各 ...

  6. 也谈Eclipse未自动在gen目录下生成R.java

    利用Eclipse创建Android project后,gen目录下没有自动生成R.java文件.尝试clean工程,还是无效.更新ADT耗时较长,没有去尝试. 观察Eclipse上的其它工程,都可以 ...

  7. 关于把war包放在Tomcat的webapps目录下 启动服务 前端访问报404

    记录一下一些低级的错误 当时电脑上解压了两个版本的Tomcat 一个是9.0.54 一个是10.0.12 我用idea的Maven对springboot的web项目进行打包练习 当时把war包放在了低 ...

  8. windows下如何使用bat启动vue

    bat与npm run 比如启动"D:/vue/project": 创建一个".bat"文件,文件内容如下: @echo off :: nodejs安装目录下的 ...

  9. /WEB-INF/classes 目录下存放的文件

    问题: 配置文件里,路径我写的是/WEB-INF/classes/applicationContext.xml,但是applicationContext.xml文件在src目录下,为什么还是能找到文件 ...

最新文章

  1. 今晚8点开播 | 微信高级研究员解析深度学习在NLP中的发展和应用
  2. vue实现pdf导出,解决生成canvas模糊等问题
  3. 火的不要不要的公有云和私有云都是什么鬼?
  4. 【Leaflet】鼠标提取坐标
  5. 多张表数据导入到execl中
  6. 奔图龙芯计算机认证报告,龙芯3A 1500 3U VPX加固计算机
  7. 【软件工程】 详细设计
  8. 2020年高压电工模拟考试题库及高压电工作业模拟考试
  9. 图片裁剪cropper 示例
  10. lvds输入悬空_LVDS原理及应用
  11. 今天给大家推荐一个Cleaner One for mac(系统清理优化工具)
  12. [数论 反演]BZOJ4816 [Sdoi2017]数字表格
  13. 如何系统学习Linux
  14. 本土猎头调整“战术”谋发展
  15. uniapp中,H5端使用html2canvas生成海报
  16. 网页小技巧-360doc个人图书馆复制文字
  17. 关于RT thread系统节拍时钟的配置
  18. Python库的安装详解
  19. mod_wsgi和php,基于mod_wsgi模式安装Django
  20. 使用OpenCV/Python进行双目测距

热门文章

  1. Cortex-M3(转)
  2. 深澜系统服务器架构,深澜认证服务器
  3. DiffUtil的使用
  4. 《现代汉语》语音概论
  5. Java-JPBC-SM9(GBT 38635)实现与测试
  6. http://www.cnitblog.com/ffan/archive/2007/07/20/30291.html
  7. 计算机网络基础概念ppt,1-1计算机网络基础概念.ppt
  8. 编译安装vasp|使用oneAPI|老超算
  9. ​【路径规划】基于蚁群算法求解多式联运路径规划问题matlab源码
  10. 隐Box4.9版本源码[独家发布]