升级SDK Tool r14 和 ADT 15后,在导出签名apk时遇到了这样的问题: conversion to dalvik format failed with error 1。
(主要原因应该是SDK升级的原因, 单单升级ADT没有遇到问题)
如图:
Refresh、Clean都试过了,还是不行。
最终的解决办法是,去除了project.properties文件(原default.properties)中的proguard配置。
view plaincopy to clipboardprint?
# This file is automatically ge......
No enclosing instance of type Foo is accessible. Must qualify the allocation with an enclosing instance of type Foo (e.g. x.new A() where x is an instance of Foo).
You can get the error No enclosing instance of type Foo is accessible. Must qualify the allocation with an enclosing instance of type Foo (e.g. x.new A() where x is an instance of Foo).
if you try to instantiate an inner class ......