添加aapt包

This commit is contained in:
gfdgd_xi 2024-01-21 13:31:46 +08:00
parent e045169d99
commit 3df126d700
12 changed files with 242 additions and 1 deletions

View File

@ -545,7 +545,7 @@ make install
[![gfdgd xi/定时器](https://gitee.com/gfdgd-xi/timer/widgets/widget_card.svg?colors=4183c4,ffffff,ffffff,e3e9ed,666666,9b9b9b)](https://gitee.com/gfdgd-xi/timer)
### 请作者喝杯茶
如果您觉得 Wine 运行器对你有帮助,可以请作者喝杯茶
如果您觉得对你有帮助,可以请作者喝杯茶
<img src="Icon/QR/Wechat.png" width="250" />
<img src="Icon/QR/Alipay.jpg" width="250" />
<img src="Icon/QR/QQ.png" width="250" >

1
aapt/usr/bin/aapt Symbolic link
View File

@ -0,0 +1 @@
../lib/android-sdk/build-tools/debian/aapt

1
aapt/usr/bin/aapt2 Symbolic link
View File

@ -0,0 +1 @@
../lib/android-sdk/build-tools/debian/aapt2

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,102 @@
# Debian aapt(1) completion -*- shell-script -*-
# Copyright: 2014 Hans-Christoph Steiner <hans@eds.org>
_aapt()
{
local cur prev words cword
_init_completion || return
local special i
for (( i=0; i < ${#words[@]}-1; i++ )); do
if [[ ${words[i]} == @(add|crunch|dump|list|package|remove|singleCrunch|version) ]]; then
special=${words[i]}
fi
done
if [[ -n $special ]]; then
case $special in
add)
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '-C -S -v' -- "$cur" ) )
else
_filedir 'apk'
fi
return 0
;;
crunch)
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '-C -i -o -S -v' -- "$cur" ) )
else
_filedir 'apk'
fi
return 0
;;
dump)
case "$prev" in
badging|configurations|permissions|resources|strings|xmltree|xmlstrings)
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '--values' -- "$cur" ) )
else
_filedir 'apk'
fi
return 0
;;
esac
COMPREPLY=( $( compgen -W 'badging configurations permissions resources
strings xmltree xmlstrings' -- "$cur" ) )
return 0
;;
list)
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '-a -v' -- "$cur" ) )
else
_filedir 'apk'
fi
return 0
;;
package)
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '-A -c -d -f -F -g -G -I -j -m -P
-S -u -v -x -z -m -0
--debug-mode --min-sdk-version --target-sdk-version
--app-version --app-version-name --custom-package
--rename-manifest-package --rename-instrumentation-target-package
--utf16 --auto-add-overlay --max-res-version
--product --preferred-configurations --output-text-symbols
' -- "$cur" ) )
else
_filedir
fi
return 0
;;
remove)
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '-v' -- "$cur" ) )
else
_filedir
fi
return 0
;;
singleCrunch)
case $prev in
-i|-o)
_filedir
return 0
;;
esac
COMPREPLY=( $( compgen -W '-i -o -v' -- "$cur" ) )
return 0
;;
version)
return 0
;;
esac
fi
COMPREPLY=( $( compgen -W 'add crunch dump list package remove singleCrunch version' -- "$cur" ) )
return 0
} &&
complete -F _aapt aapt
# ex: ts=4 sw=4 et filetype=sh

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,133 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0
Upstream-Name: Android framework classes and services
Source: https://android.googlesource.com/platform/frameworks/base
Files-Excluded: *.jar
data
docs/downloads
media/tests
packages
services
tests
tools/preload
Files: *
Copyright: 2005-2012, The Android Open Source Project
2004-2010, NXP Software
2003-2010, VisualOn
1998-2009, PacketVideo
2002-2008, John Cowan
1991-2008, Unicode, Inc.
2007, Nuance Communications
1999-2006, The Apache Software Foundation
2004, Apple Computer, Inc.
2015, Samsung LSI
License: Apache-2.0
Files: debian/*
Copyright: 2014, Hans-Christoph Steiner <hans@eds.org>
2005-2012, The Android Open Source Project
1999-2006, The Apache Software Foundation
2015-2016, Kai-Chung Yan (殷啟聰)
License: Apache-2.0
Files: libs/hwui/utils/FatVector.h
libs/hwui/utils/LinearAllocator.*
Copyright: 2012-2015, The Android Open Source Project
License: BSD-2-clause
Files: obex/javax/obex/*.java
Copyright: 2008-2009, Motorola, Inc.
2014-2015, The Android Open Source Project
2008-2009, Motorola, Inc.
License: BSD-3-clause
Files: core/jni/android/graphics/HarfBuzzNGFaceSkia.cpp
Copyright: 2012, Google Inc
License: BSD-3-clause
Files: core/jni/android/graphics/HarfBuzzNGFaceSkia.h
Copyright: 2011, Google Inc
License: BSD-3-clause
Files: telephony/java/com/android/ims/internal/IImsEcbm.aidl
telephony/java/com/android/ims/internal/IImsEcbmListener.aidl
Copyright: 2014, The Linux Foundation
License: BSD-3-clause
Files: core/java/android/text/format/TimeFormatter.java
Copyright: 1989, The Regents of the University of California
License: BSD-Berkeley
License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian systems, the full text of the Apache License, Version 2.0
can be found in the file `/usr/share/common-licenses/Apache-2.0'.
License: BSD-2-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
.
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
.
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the Motorola, Inc. nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
License: BSD-Berkeley
Redistribution and use in source and binary forms are permitted
provided that the above copyright notice and this paragraph are
duplicated in all such forms and that any documentation,
advertising materials, and other materials related to such
distribution and use acknowledge that the software was developed
by the University of California, Berkeley. The name of the
University may not be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

View File

@ -0,0 +1,4 @@
# Executables and libraries of Android SDK uses private libraries located in
# /usr/lib/${DEB_HOST_MULTIARCH}/android
binary-or-shlib-defines-rpath

Binary file not shown.

0
bwrap/run.sh Normal file
View File